/* =============================================
          css_1_blocks.css  MONITOR STYLE 
           ============================================= */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Courier New', 'Fira Code', 'Menlo', monospace;
            /*background: #0a0e14;*/
			background: #0d1117;
            min-height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 0.5rem;
        }


/*body { width:100%; height:100%; margin:0; padding:0; }
.main { width:100%; }*/



        .app {
            width: 100%;
            max-width: 1440px;
        /* background: #0d1117;*/
            border-radius: 4px;
            box-shadow: 0 0 40px rgba(0, 255, 65, 0.05), inset 0 0 60px rgba(0, 0, 0, 0.5);
            overflow: hidden;
            display: flex;
            flex-direction: column;
            border: 1px solid #1a2a1a;
        }

        /* ----- TOP BAR (monitor stijl) ----- */
        .top-bar {
           background: #ffee8a;
            padding: 0.4rem 1.2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid #1a2a1a;
            font-size: 0.7rem;
            color: #3a8a3a;
            letter-spacing: 1px;
            text-transform: uppercase;
            flex-wrap: wrap;
            gap: 0.3rem 1rem;
        }
        .top-bar .logo {
            color: #00ff41;
            font-weight: bold;
            font-size: 0.9rem;
            letter-spacing: 2px;
        }
        .top-bar .logo span {
            color: #3a8a3a;
            font-weight: 300;
        }
        .top-bar .status {
            color: #3a8a3a;
            font-size: 0.6rem;
            display: flex;
            gap: 1.2rem;
            align-items: center;
        }
        .top-bar .status .dot {
            display: inline-block;
            width: 6px;
            height: 6px;
            background: #00ff41;
            border-radius: 50%;
            animation: blink 1.5s infinite;
            margin-right: 4px;
        }
        @keyframes blink {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.2; }
        }
        .top-bar .time {
            color: #3a8a3a;
            font-size: 0.7rem;
        }

        /* ----- TICKER (bestaand, maar stijlen) ----- */
        .ticker-wrap {
            background: #0a0e14;
            border-bottom: 1px solid #1a2a1a;
            padding: 0.2rem 0;
        }
        .ticker-wrap .ticker {
            color: #00ff41;
            font-size: 0.75rem;
            font-family: 'Courier New', monospace;
        }

        /* ----- HOOFDLAYOUT ----- */
        .main {
            display: flex;
            flex: 1;
            min-height: 500px;
        /*    background: #0d1117;*/
        }


.waarde_punten, .waarde_usd, .waarde_euro {
    padding: 2px 8px;
    border-radius: 4px;
}


.waarde_euro  { color:#58a6ff; }
.waarde_usd{ color:#99ff00; }


        /* ----- MIDDEN: GRID (monitor style) ----- */
        .grid-wrapper {
            flex: 1;
            padding: 0.5rem 0.6rem 0.5rem 0.8rem;
           /* background: #0d1117;*/
            display: flex;
            flex-direction: column;
        }

        .grid-title {
            font-size: 0.6rem;
            font-weight: 400;
            color: #3a8a3a;
            letter-spacing: 2px;
            text-transform: uppercase;
            margin-bottom: 0.5rem;
            border-bottom: 1px solid #1a2a1a;
            padding-bottom: 0.3rem;
            font-family: 'Courier New', monospace;
        }

       /* .grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 0.5rem;
            flex: 1;
        }*/


.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
     gap: 0.5rem;
}

/* Blokken zonder content verbergen */
.block:empty,
.block:has(.block-content:empty) {
    display: none;
}


        /* ----- BLOKKEN - monitor Monitor Style ----- */
        .block {
            /*background: #0a0e14;*/
			/* background:#0d1117;*/
            border-radius: 2px;
            padding: 0.3rem 0.4rem 0.3rem;
            border: 1px solid #1a2a1a;
            display: flex;
            flex-direction: column;
            min-height: 80px;
            transition: border-color 0.3s;
        }
		
        .block:hover {
            border-color: #2a4a2a;
        }

        .block-label {
            font-size: 0.6rem;
            text-transform: uppercase;
            letter-spacing: 1.5px;
			/*color: #3a6a3a;*/
            color: #8abf8a;
            font-weight: 400;
            display: flex;
            justify-content: space-between;
            border-bottom: 1px solid #111a11;
            padding-bottom: 0.15rem;
            margin-bottom: 0.2rem;
            font-family: 'Courier New', monospace;
        }
        .block-label a {
            color: #569e56;
            text-decoration: none;
            transition: color 0.2s;
        }
        .block-label a:hover {
            color: #00ff41;
        }

        .block-content {
            flex: 1;
            display: flex;
            /*align-items: center;
            justify-content: center;*/
            overflow: hidden;
            min-height: 50px;
        }
        .block-content iframe {
            width: 100%;
            height: 100%;
            min-height: 50px;
            border: none;
            border-radius: 2px;
          /*  background: #0a0e14;*/
        }

      .rightup {
	  font-size: 0.8rem;
     /* font-weight: 400;*/
      color: #ffffff;
	  }


        /* ----- NIEUWS (rechts) - monitor style ----- */
        .nieuws {
            width: 240px;
            /*background: #0a0e14;*/
            padding: 0.6rem 0.6rem;
            flex-shrink: 0;
            border-left: 1px solid #1a2a1a;
            display: flex;
            flex-direction: column;
            max-height: 800px;
            overflow-y: auto;
        }

        /* Scrollbar styling - monitor style */
        .nieuws::-webkit-scrollbar {
            width: 4px;
        }
        .nieuws::-webkit-scrollbar-track {
            background: #0a0e14;
        }
        .nieuws::-webkit-scrollbar-thumb {
            background: #1a3a1a;
            border-radius: 2px;
        }
        .nieuws::-webkit-scrollbar-thumb:hover {
            background: #2a5a2a;
        }
        .nieuws {
            scrollbar-width: thin;
            scrollbar-color: #1a3a1a #0a0e14;
        }

        .nieuws h3 {
            font-size: 0.6rem;
            font-weight: 400;
            color: #3a8a3a;
            letter-spacing: 2px;
            text-transform: uppercase;
            border-bottom: 1px solid #1a2a1a;
            padding-bottom: 0.3rem;
            margin-bottom: 0.5rem;
            flex-shrink: 0;
            font-family: 'Courier New', monospace;
        }

       
        /* ----- onderblock (onder) - monitor style ----- */
        .onderblock {
           /* background: #0a0e14;*/
            text-align: center;
            padding: 0.4rem;
            color: #2a4a2a;
            font-weight: 300;
            letter-spacing: 1.5px;
            font-size: 0.6rem;
            border-top: 1px solid #1a2a1a;
            font-family: 'Courier New', monospace;
            text-transform: uppercase;
        }
        .onderblock span {
            color: #569e56;
            padding: 0 0.8rem;
        }

        /* =============================================
           RESPONSIVE
           ============================================= */
        @media (max-width: 1024px) {
            .menu { width: 120px; }
            .nieuws { width: 200px; }
            .grid { gap: 0.4rem; }
        }

        @media (max-width: 860px) {
            .main {
                flex-direction: column;
            }
           
            .grid-wrapper {
                padding: 0.4rem;
            }
            .grid {
                grid-template-columns: repeat(3, 1fr);
                gap: 0.4rem;
            }

            .nieuws {
                width: 100%;
                border-left: none;
                border-top: 1px solid #1a2a1a;
                flex-direction: row;
                flex-wrap: wrap;
                padding: 0.4rem 0.6rem;
                gap: 0.3rem 1rem;
                max-height: 200px;
            }
            .nieuws h3 {
                width: 100%;
                margin-bottom: 0.2rem;
                border-bottom: none;
                padding-bottom: 0;
            }
            .nieuws-item {
                border-bottom: none;
                padding: 0.2rem 0;
                flex: 1 0 auto;
                min-width: 100px;
            }
        }

        @media (max-width: 600px) {
            .grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 0.3rem;
            }
            .nieuws {
                max-height: 150px;
            }
            .top-bar {
                font-size: 0.55rem;
                padding: 0.3rem 0.6rem;
            }
            .top-bar .logo {
                font-size: 0.7rem;
            }
        }

        @media (max-width: 420px) {
            .grid {
                grid-template-columns: 1fr;
            }
            .block {
                min-height: 70px;
            }
            .nieuws {
                max-height: 130px;
            }
        }
		

	