/* --- Animated Gradient Background --- */
        body {
            height: 100vh;
            margin: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            background: linear-gradient(-45deg, #667eea, #764ba2, #4bff0066, #ff512f);
            background-size: 400% 400%;
            animation: gradientBG 15s ease infinite;
            font-family: 'Segoe UI', sans-serif;
        }

        @keyframes gradientBG {
            0% {background-position: 0% 50%;}
            50% {background-position: 100% 50%;}
            100% {background-position: 0% 50%;}
        }

        /* --- Card --- */
        .card {
            max-width: 400px;
            width: 90%;
            border-radius: 12px;
            box-shadow: 0 8px 25px rgba(0,0,0,0.2);
            overflow: hidden;
            background: #fff;
        }

        .card-header {
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: #fff;
            text-align: center;
            font-size: 22px;
            font-weight: 700;
            padding: 18px 0;
            letter-spacing: 0.5px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .card-body {
            padding: 25px 30px;
        }

        .card-body label {
            display: block;
            font-weight: 600;
            color: #333;
            margin-bottom: 5px;
        }

        .input-icon {
            position: relative;
        }

        .input-icon i {
            position: absolute;
            left: 12px;
            top: 50%;
            transform: translateY(-50%);
            color: #999;
            font-size: 16px;
        }

        .input-icon input {
            width: 100%;
            padding-left: 40px;
        }

        .input-custom {
            width: 100%;
            padding: 12px 15px;
            margin-bottom: 15px;
            border-radius: 10px;
            border: 1px solid #ccc;
            font-size: 14px;
            transition: 0.3s;
        }

        .input-custom:focus {
            border-color: #6a11cb;
            box-shadow: 0 0 6px rgba(106,17,203,0.3);
            outline: none;
        }

        .btn-submit {
            width: 100%;
            background: linear-gradient(45deg,#00c6ff,#0072ff);
            border: none;
            border-radius: 10px;
            padding: 12px;
            color: #fff;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: 0.3s;
        }

        .btn-submit:hover {
            background: linear-gradient(45deg,#0072ff,#00c6ff);
            transform: translateY(-2px);
        }

        /* Flash Alerts */
        .flash-alert {
            position: fixed;
            top: 20px;
            right: 20px;
            min-width: 250px;
            padding: 12px 20px;
            border-radius: 8px;
            font-weight: 600;
            z-index: 9999;
            color: #fff;
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
        }
        .flash-success { background: linear-gradient(135deg,#43e97b,#38f9d7); }
        .flash-info    { background: linear-gradient(135deg,#667eea,#764ba2); }
        .flash-warning { background: linear-gradient(135deg,#f6d365,#fda085); color:#000; }
        .flash-error   { background: linear-gradient(135deg,#ff416c,#ff4b2b); }

        .fade-out { transition: opacity 0.5s ease, transform 0.5s ease; opacity:0; transform: translateX(50px); }

        @media(max-width:480px){
            .card {
                margin: 40px 15px;
            }
        }