/* admin/login.php styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

        :root {
            --primary: #ff227e;
            --secondary: #ff638d70;
            --primary-gradient: linear-gradient(to right, #ff227e 0%, #ff638d70 51%, #ff227e 100%);
            --secondary-gradient: linear-gradient(135deg, #ff638d70 0%, #ff3b8dde 100%);
            --dark: #2F2E41;
            --light: #F8F9FA;
            --gray: #cdd1d3;
            --circle1: #FF6584;
            --circle3: #ab00ff;
            --circle4: #22cfe391;
            --shape2: #ff0045;
            --shape3: #0070ff;
            --shape4: #0029ff;
            --triangle: #0ea271;
            --danger: #dc3545;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        
        html {
    overflow-x: hidden;
}

        body {
            font-family: 'Inter', sans-serif;
            background: #f8f9fa;
            min-height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            margin: 0;
            overflow: hidden;
            position: relative;
        }

        /* ===== Floating Shapes Around Container ===== */
        .shape {
            position: absolute;
            opacity: 0.1;
            z-index: 0;
            animation: float 15s infinite ease-in-out;
        }

        .shape-1 {
            width: 150px;
            height: 150px;
            background: var(--primary);
            top: 10%;
            left: 10%;
            clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
            animation-delay: 0s;
        }

        .shape-2 {
            width: 230px;
            height: 230px;
            background: var(--shape2);
            bottom: 10%;
            right: 10%;
            clip-path: circle(50% at 50% 50%);
            animation-delay: 3s;
        }

        .shape-3 {
            width: 170px;
            height: 170px;
            background: var(--shape3);
            top: 5%;
            right: 5%;
            clip-path: polygon(0% 0%, 100% 0%, 100% 100%);
            animation-delay: 6s;
        }

        .shape-4 {
            width: 180px;
            height: 180px;
            background: var(--shape4);
            bottom: 15%;
            left: 15%;
            clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
            animation-delay: 9s;
        }

        @keyframes float {
            0%, 100% { transform: translate(0, 0) rotate(0deg); }
            25% { transform: translate(20px, 20px) rotate(5deg); }
            50% { transform: translate(0, 30px) rotate(0deg); }
            75% { transform: translate(-20px, 10px) rotate(-5deg); }
        }
        
        /* Floating circle effects */
        .floating-circle {
            position: absolute;
            border-radius: 50%;
            filter: blur(60px);
            opacity: 0.4;
            z-index: 0;
        }
        .circle-1 {
            width: 300px;
            height: 300px;
            background: var(--circle1);
            top: -100px;
            left: -100px;
            animation: float 15s ease-in-out infinite;
        }
        .circle-2 {
            width: 400px;
            height: 400px;
            background: #FF6584;
            bottom: -150px;
            right: -100px;
            animation: float 18s ease-in-out infinite reverse;
        }
        .circle-3 {
            width: 200px;
            height: 200px;
            background: var(--circle3);
            bottom: 50px;
            left: 20%;
            animation: float 12s ease-in-out infinite 2s;
        }
        .circle-4 {
            width: 250px;
            height: 250px;
            background: var(--circle4);
            top: 30%;
            right: 15%;
            animation: float 14s ease-in-out infinite 1s;
        }
        
        .login-container {
            display: flex;
            width: 900px;
            height: 550px;
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
            border-radius: 16px;
            overflow: hidden;
            position: relative;
            z-index: 1;
            transform-style: preserve-3d;
        }
        
        /* Photo side with gradient overlay and floating images effect */
        .photo-side {
            flex: 1;
            background: url('https://images.unsplash.com/photo-1554080353-a576cf803bda?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1064&q=80') center/cover no-repeat;
            position: relative;
            overflow: hidden;
        }
        .photo-side::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: var(--secondary-gradient);
        }
        .photo-side::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect fill="none" width="100" height="100"/><path fill="rgba(255,255,255,0.05)" d="M30 10L50 30L70 10L90 30L70 50L90 70L70 90L50 70L30 90L10 70L30 50L10 30L30 10Z"/></svg>');
            background-size: 100px 100px;
            opacity: 0.3;
            animation: patternMove 60s linear infinite;
        }
        
        @keyframes patternMove {
            0% { background-position: 0 0; }
            100% { background-position: 1000px 1000px; }
        }
        
        .photo-side-content {
            position: relative;
            z-index: 2;
            padding: 40px;
            color: white;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
        .photo-side-content h2 {
            font-size: 28px;
            margin-bottom: 10px;
            font-weight: 700;
        }
        .photo-side-content p {
            font-size: 16px;
            line-height: 1.6;
            opacity: 0.9;
        }
        
        /* Form side with floating elements */
        .ig-form-side {
            flex: 1;
            max-width: 400px;
            background: white;
            padding: 60px 40px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            position: relative;
            overflow: hidden;
        }
        .ig-form-side::before {
            content: '';
            position: absolute;
            top: -50px;
            right: -50px;
            width: 150px;
            height: 150px;
            background: var(--secondary);
            border-radius: 50%;
        }
        .ig-form-side::after {
            content: '';
            position: absolute;
            bottom: -30px;
            left: -30px;
            width: 100px;
            height: 100px;
            background: rgba(255, 101, 132, 0.1);
            border-radius: 50%;
        }
        
        .logo {
            text-align: center;
            margin-bottom: 70px;
            position: relative;
            z-index: 2;
        }
        
        .logo-img {
            width: 80px;
            height: 80px;
            margin-bottom: 15px;
            object-fit: contain;
            filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.1));
        }
        
        .logo h2 {
            color: var(--primary);
            font-weight: 700;
            font-size: 28px;
            margin-bottom: 5px;
        }
        .logo p {
            color: #000000;
            font-size: 14px;
        }
        
        /* Input fields with line animation */
        .input-line {
            position: relative;
            margin: 0 auto 30px auto;
        }
        
        .input-line input {
            width: 100%;
            padding: 10px 0;
            font-size: 16px;
            color: #333;
            border: none;
            border-bottom: 2px solid var(--gray);
            outline: none;
            background: transparent;
            transition: all 0.3s;
            padding-right: 25px;
        }
        
        .input-line label {
            position: absolute;
            top: 10px;
            left: 0;
            font-size: 16px;
            color: #6b7280;
            pointer-events: none;
            transition: all 0.3s;
        }
        
        .input-line input:focus ~ label,
        .input-line input:valid ~ label {
            top: -15px;
            font-size: 12px;
            color: #ff3d00;
        }
        
        .input-line .line {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: linear-gradient(135deg, #ff227e 0%, #ffb300 100%);
            transition: all 0.4s;
        }
        
        .input-line input:focus ~ .line {
            width: 100%;
        }
        
        /* Password toggle styles */
        .password-toggle {
            position: absolute;
            right: 0;
            top: 50%;
            transform: translateY(-50%);
            cursor: pointer;
            width: 20px;
            height: 20px;
            opacity: 0.6;
            transition: opacity 0.3s;
        }
        
        .password-toggle svg {
            width: 100%;
            height: 100%;
        }
        
        .password-toggle:hover {
            opacity: 1;
        }
        
        /* Button styles */
        /* base is .ig-btn (admin-button.css); only the login-specific look is here */
        .ig-btn-primary {
            --btn-shadow: none;
            background: var(--primary-gradient);
            padding: 12px;
            border-radius: 8px;
            width: 100%;
            background-size: 200% auto;
            transition: all 0.5s;
            z-index: 2;
            font-size: 16px;
            margin-top: 1rem !important;
        }
        .ig-btn-primary:hover {
            background-position: right center;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(79, 70, 229, 0.3);
        }
        
        /* Floating particles */
        .particle {
            position: absolute;
            background: rgba(255, 255, 255, 0.5);
            border-radius: 50%;
            pointer-events: none;
            z-index: 1;
        }

        /* Alert styles */
        .ig-alert {
            padding: 12px 16px;
            border-radius: 8px;
            margin-bottom: 20px;
            font-size: 14px;
            position: relative;
        }

        .ig-alert-danger {
            color: #721c24;
            background-color: #f8d7da;
            border: 1px solid #f5c6cb;
        }

        /* Form styles */
        form {
            width: 100%;
            position: relative;
            z-index: 2;
        }

        /* Mobile Responsive Styles */
        @media (max-width: 992px) {
            .login-container {
                width: 90%;
                max-width: 700px;
                height: auto;
                flex-direction: column;
            }
            
            .photo-side {
                height: 250px;
                flex: none;
            }
            
            .photo-side-content {
                padding: 30px;
                text-align: center;
            }
            
            .photo-side-content h2 {
                font-size: 24px;
            }
            
            .photo-side-content p {
                font-size: 14px;
            }
            
            .ig-form-side {
                max-width: 100%;
                padding: 40px 30px;
            }
            
            .logo {
                margin-bottom: 40px;
            }
            
            .logo-img {
                width: 70px;
                height: 70px;
            }
            
            .logo h2 {
                font-size: 26px;
            }
            
            /* Adjust shapes and circles for mobile */
            .shape-1 {
                width: 100px;
                height: 100px;
                top: 2%;
                left: 5%;
            }
            
            .shape-2 {
                width: 150px;
                height: 150px;
                bottom: 5%;
                right: 5%;
            }
            
            .shape-3 {
                width: 120px;
                height: 120px;
                top: 1%;
                right: 2%;
            }
            
            .shape-4 {
                width: 130px;
                height: 130px;
                bottom: 10%;
                left: 10%;
            }
            
            .circle-1 {
                width: 200px;
                height: 200px;
                top: -50px;
                left: -50px;
            }
            
            .circle-2 {
                width: 250px;
                height: 250px;
                bottom: -80px;
                right: -50px;
            }
            
            .circle-3 {
                width: 150px;
                height: 150px;
                bottom: 30px;
            }
            
            .circle-4 {
                width: 180px;
                height: 180px;
                top: 20%;
            }
        }

        @media (max-width: 576px) {
            .login-container {
                width: 92%;
                border-radius: 12px;
                margin-bottom: 50px;
            }
            
            .photo-side {
                height: 250px;
            }
            
            .photo-side-content {
                padding: 20px;
            }
            
            .photo-side-content h2 {
                font-size: 22px;
            }
            
            .photo-side-content p {
                font-size: 13px;
            }
            
            .ig-form-side {
                padding: 40px 20px;
            }
            
            .logo {
                margin-bottom: 50px;
            }
            
            .logo-img {
                width: 60px;
                height: 60px;
                margin-top: -20px;
            }
            
            .logo h2 {
                font-size: 24px;
            }
            
            .input-line {
                margin-bottom: 35px;
                width: 85%;
            }
            
            form .ig-btn-primary {
        width: calc(85% + 2px);
        margin: 0 auto;
    display: block;
    }
            
            /* Further adjust shapes and circles for small mobile */
            .shape-1 {
                width: 110px;
                height: 110px;
            }
            
            .shape-2 {
                width: 120px;
                height: 120px;
            }
            
            .shape-3 {
                width: 90px;
                height: 90px;
            }
            
            .shape-4 {
                width: 100px;
                height: 100px;
            }
            
            .circle-1 {
                width: 150px;
                height: 150px;
            }
            
            .circle-2 {
                width: 200px;
                height: 200px;
            }
            
            .circle-3 {
                width: 120px;
                height: 120px;
            }
            
            .circle-4 {
                width: 140px;
                height: 140px;
            }
        }
