    .login-box {
      background: white;
      padding: 3rem 2.5rem;
      border-radius: 20px;
      box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
      text-align: center;
      animation: fadeInUp 0.6s ease-out;
    }

    @keyframes fadeInUp {
      from {
        opacity: 0;
        transform: translateY(30px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .logo-section {
      margin-bottom: 2rem;
    }

    .mg-badge {
      width: 80px;
      height: 80px;
      background: linear-gradient(135deg, #DC143C, #8B0000);
      border-radius: 50%;
      margin: 0 auto 1rem;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 2rem;
      font-weight: 700;
      color: white;
      box-shadow: 0 4px 15px rgba(220, 20, 60, 0.4);
    }

    h1 {
      font-size: 1.8rem;
      font-weight: 500;
      color: #333;
      margin-bottom: 0.5rem;
      letter-spacing: -0.5px;
    }

    h1 {
      font-size: 1.05rem;
      font-weight: 500;
      color: #333;
      text-align: center;
      margin-bottom: 0.5rem;
      letter-spacing: -0.5px;
    }

    .subtitle {
      font-size: 0.95rem;
      color: #DC143C;
      font-weight: 500;
      margin-bottom: 2rem;
    }

    .form-group {
      margin-bottom: 1.5rem;
      text-align: left;
    }

    label {
      display: block;
      font-size: 1.05rem;
      font-weight: 500;
      color: black;
      margin-bottom: 0.5rem;
    }

    .input-wrapper {
      position: relative;
    }

    input[type="password"] {
      width: 100%;
      padding: 1rem 1.2rem;
      border-radius: 12px;
      border: 2px solid #e0e0e0;
      font-size: 1rem;
      font-family: 'Roboto', sans-serif;
      outline: none;
      transition: all 0.3s ease;
      background: #fafafa;
    }

    input[type="password"]:focus {
      border-color: #DC143C;
      background: white;
      box-shadow: 0 0 0 4px rgba(220, 20, 60, 0.1);
    }

    .login-btn {
      width: 100%;
      margin-top: 1.5rem;
      background: #8B0000 100%;
      color: white;
      border: none;
      padding: 1rem;
      border-radius: 12px;
      font-size: 1.05rem;
      font-weight: 500;
      cursor: pointer;
      transition: all 0.3s ease;
      box-shadow: 0 4px 15px rgba(220, 20, 60, 0.3);
      letter-spacing: 0.5px;
    }

    .login-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(220, 20, 60, 0.4);
    }

    .login-btn:active {
      transform: translateY(0);
    }

    .error {
      background: #ffebee;
      color: #c62828;
      padding: 0.8rem;
      border-radius: 8px;
      margin-top: 1rem;
      font-size: 0.9rem;
      font-weight: 500;
      border-left: 4px solid #c62828;
      display: none;
      text-align: left;
    }

    .error.show {
      display: block;
      animation: shake 0.4s ease;
    }

    @keyframes shake {
      0%, 100% { transform: translateX(0); }
      25% { transform: translateX(-10px); }
      75% { transform: translateX(10px); }
    }

    footer {
      position: fixed;
      bottom: 20px;
      left: 50%;
      transform: translateX(-50%);
      text-align: center;
      font-size: 0.85rem;
      color: rgba(255, 255, 255, 0.9);
      font-weight: 300;
      z-index: 1;
    }

    /* Mobile optimizations */
    @media (max-width: 480px) {
      .login-box {
        padding: 2rem 1.5rem;
      }

      h1 {
        font-size: 1.5rem;
      }

      .mg-badge {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
      }

      button {
        font-size: 1rem;
      }
    }

    /* Loading state */
    button.loading {
      position: relative;
      color: transparent;
      pointer-events: none;
    }

    button.loading::after {
      content: '';
      position: absolute;
      width: 20px;
      height: 20px;
      top: 50%;
      left: 50%;
      margin-left: -10px;
      margin-top: -10px;
      border: 3px solid rgba(255, 255, 255, 0.3);
      border-top-color: white;
      border-radius: 50%;
      animation: spin 0.8s linear infinite;
    }

    @keyframes spin {
      to { transform: rotate(360deg); }
    }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Roboto', sans-serif;
            background: linear-gradient(135deg, #8B0000 0%, #DC143C 50%, #8B0000 100%);
            min-height: 100vh;
            overflow-x: hidden;
            overflow-y: auto;
            position: relative;
        }

        body::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: repeating-linear-gradient(
                45deg,
                transparent,
                transparent 10px,
                rgba(255, 255, 255, 0.03) 10px,
                rgba(255, 255, 255, 0.03) 20px
            );
            pointer-events: none;
        }

        .dashboard-container {
            min-height: 100vh; /* Allow it to grow beyond viewport */
            max-width: 1800px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            padding: 15px;
            overflow: visible; /* Allow scrolling */
        }

        /* Header */
        .header {
            background: white;
            padding: 30px 40px;
            border-radius: 20px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-shrink: 0;
        }

        .header h1 {
            font-size: 2.5rem;
            font-weight: 500;
            color: #333;
            display: flex;
            align-items: center;
            gap: 25px;
        }

        .mg-badge-small {
            width: 70px;
            height: 70px;
            background: linear-gradient(135deg, #DC143C, #8B0000);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2rem;
            font-weight: 700;
            color: white;
            box-shadow: 0 4px 15px rgba(220, 20, 60, 0.4);
        }

        .logout-btn {
            background: linear-gradient(135deg, #DC143C, #8B0000);
            color: white;
            border: none;
            padding: 12px 24px;
            border-radius: 12px;
            font-size: 1rem;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(220, 20, 60, 0.3);
        }

        .logout-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(220, 20, 60, 0.4);
        }

        /* Main Content */
        .content {
            flex: 1;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
            overflow-x: hidden;
            overflow-y: auto;
        }

        .panel {
            background: white;
            border-radius: 20px;
            padding: 40px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            overflow-y: auto;
            display: flex;
            flex-direction: column;
            margin-top: 10px;
        }

        .panel h2 {
            font-size: 2rem;
            font-weight: 500;
            color: #333;
            margin-bottom: 30px;
            padding-bottom: 25px;
            border-bottom: 3px solid #DC143C;
        }

        /* Left Panel - Selection */
        select {
            width: 100%;
            padding: 10px 15px;
            border: 2px solid #e0e0e0;
            border-radius: 12px;
            font-size: 1.1rem;
            font-family: 'Roboto', sans-serif;
            outline: none;
            transition: all 0.3s ease;
            background: #fafafa;
            cursor: pointer;
        }

        select:focus {
            border-color: #DC143C;
            background: white;
            box-shadow: 0 0 0 4px rgba(220, 20, 60, 0.1);
        }

        .goal-progress {
            text-align: center;
            margin: 10px 0;
            padding: 10px;
            background: linear-gradient(135deg, #f5f5f5, #fafafa);
            border-radius: 15px;
            border: 2px solid #e0e0e0;
        }

        .goal-progress h3 {
            font-size: 1rem;
            color: #555;
            margin-bottom: 5px;
        }

        .goal-icon {
            font-size: 2.5rem;
            animation: pulse 2s ease-in-out infinite;
        }

        @keyframes pulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.1); }
        }

        .donation-form {
            margin-top: 2px;
        }

        .donation-form h3 {
            font-size: 1rem;
            color: #333;
            margin-bottom: 10px;
        }

        .donation-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: #f9f9f9;
            border-radius: 10px;
            transition: all 0.3s ease;
        }

        .donation-row:hover {
            background: #f0f0f0;
        }

        .donation-row label {
            font-size: 1.3rem;
            font-weight: 500;
            color: #555;
        }

        .donation-row input {
            width: 120px;
            padding: 10px 15px;
            border: 2px solid #e0e0e0;
            border-radius: 8px;
            font-size: 1.0rem;
            text-align: right;
            font-family: 'Roboto', sans-serif;
            outline: none;
            transition: all 0.3s ease;
        }

        .donation-row input:focus {
            border-color: #DC143C;
            box-shadow: 0 0 0 3px rgba(220, 20, 60, 0.1);
        }

        .submit-btn {
            width: 100%;
            margin-top: 25px;
            background: linear-gradient(135deg, #27ae60, #2ecc71);
            color: white;
            border: none;
            padding: 18px;
            border-radius: 12px;
            font-size: 1.6rem;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
        }

        .submit-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4);
        }

        /* Right Panel - Thermometer */
        .thermometer-section {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 40px;
        }

        .thermometer-wrapper {
            position: relative;
            width: 140px;
            height: 450px;
        }

        .thermometer {
            position: relative;
            width: 140px;
            height: 450px;
            background: linear-gradient(to bottom, #f0f0f0, #e0e0e0);
            border-radius: 70px;
            overflow: visible;
            box-shadow: 
                inset 0 0 20px rgba(0,0,0,0.1),
                0 10px 30px rgba(0,0,0,0.2);
            border: 5px solid white;
        }

        .thermo-fill {
            position: absolute;
            bottom: 0;
            width: 100%;
            height: 0%;
            background: linear-gradient(to top, 
                #27ae60 0%, 
                #2ecc71 50%, 
                #3498db 100%);
            border-radius: 70px;
            transition: height 1.5s cubic-bezier(0.4, 0.0, 0.2, 1);
            box-shadow: 
                inset 0 -10px 20px rgba(255,255,255,0.3),
                0 0 30px rgba(39, 174, 96, 0.5);
        }

        .thermo-fill::before {
            content: '';
            position: absolute;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 60%;
            height: 100%;
            background: linear-gradient(to right, 
                transparent, 
                rgba(255,255,255,0.3), 
                transparent);
            border-radius: 70px;
        }

        .thermo-indicator {
            position: absolute;
            right: -100px;
            transform: translateY(50%);
            background: linear-gradient(135deg, #27ae60, #2ecc71);
            color: white;
            padding: 14px 24px;
            border-radius: 15px;
            font-weight: 600;
            font-size: 1.4rem;
            white-space: nowrap;
            transition: bottom 1.5s cubic-bezier(0.4, 0.0, 0.2, 1);
            box-shadow: 0 8px 20px rgba(39, 174, 96, 0.4);
        }

        .thermo-indicator::before {
            content: '';
            position: absolute;
            left: -12px;
            top: 50%;
            transform: translateY(-50%);
            border: 12px solid transparent;
            border-right-color: #27ae60;
        }

        .total-display {
            text-align: center;
            margin-top: 30px;
        }

        .total-display .amount {
            font-size: 3.5rem;
            font-weight: 700;
            color: #27ae60;
            text-shadow: 0 2px 10px rgba(39, 174, 96, 0.3);
        }

        .total-display .label {
            font-size: 1.4rem;
            color: #666;
            margin-top: 8px;
        }

        /* Goals Section */
        .goals-section {
            margin-top: 35px;
            padding-top: 35px;
            border-top: 2px solid #e0e0e0;
        }

        .goals-section h3 {
            font-size: 1.8rem;
            color: #333;
            margin-bottom: 25px;
            text-align: center;
        }

        .people-counter {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(42px, 1fr));
            gap: 10px;
            justify-items: center;
        }

        .person {
            width: 42px;
            height: 42px;
            border-radius: 50%;
            background: linear-gradient(135deg, #DC143C, #8B0000);
            position: relative;
            transition: all 0.3s ease;
            box-shadow: 0 2px 8px rgba(220, 20, 60, 0.3);
        }

        .person::after {
            content: '✓';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            color: white;
            font-size: 1.4rem;
            font-weight: bold;
        }

        .person.not-reached {
            background: linear-gradient(135deg, #e0e0e0, #bdbdbd);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }

        .person.not-reached::after {
            content: '○';
            color: #999;
        }

        .person:hover {
            transform: scale(1.15);
        }

        /* Mobile Responsive */
        @media (max-width: 768px) {
            .dashboard-container {
                padding: 10px;
                gap: 10px;
            }

            .content {
                grid-template-columns: 1fr;
                grid-template-rows: auto 1fr;
            }

            .header {
                padding: 15px 20px;
            }

            .header h1 {
                font-size: 1.3rem;
            }

            .mg-badge-small {
                width: 40px;
                height: 40px;
                font-size: 1rem;
            }

            .logout-btn {
                padding: 10px 16px;
                font-size: 0.9rem;
            }

            .panel {
                padding: 20px;
            }

            .panel h2 {
                font-size: 1.2rem;
            }

            .thermometer-wrapper {
                width: 100px;
                height: 300px;
            }

            .thermometer {
                width: 100px;
                height: 300px;
            }

            .thermo-bulb {
                width: 120px;
                height: 120px;
                bottom: -60px;
            }

            .thermo-indicator {
                font-size: 1rem;
                padding: 10px 15px;
            }

            .total-display .amount {
                font-size: 2rem;
            }

            .person {
                width: 30px;
                height: 30px;
            }

            .people-counter {
                grid-template-columns: repeat(auto-fill, minmax(30px, 1fr));
            }
        }

        @media (max-width: 480px) {
            .donation-row {
                flex-direction: column;
                align-items: flex-start;
                gap: 10px;
            }

            .donation-row input {
                width: 100%;
            }
        }