
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: linear-gradient(135deg, #f3f3f5 0%, #979697 100%);
            min-height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 20px;
        }
        /* .btn-login{
            background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
            color: white;
        } */
        .login-container {
            background: #ffffff;
            border-radius: 12px;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
            width: 100%;
            max-width: 550px;
            overflow: hidden;
        }

        /* Header */
        .header {
            /* background: #ffffff; */
            background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
             color: white;
            padding: 30px;
            text-align: center;
            border-bottom: 3px solid #f0f0f0;
        }

        .logos-container {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 0px;
            margin-bottom: 20px;
            flex-wrap: wrap;
        }

        .logo-minsa {
            display: flex;
            align-items: center;
            gap: 8px;
            /* background: #f8f9fa; */
            padding: 10px 15px;
            border-radius: 8px;
        }

        .logo-minsa img {
            height: 80px;
            width: 80px;
        }

        .logo-minsa .text-container {
            text-align: left;
        }

        .logo-minsa .peru {
            background: #d91010;
            color: white;
            padding: 3px 8px;
            border-radius: 4px;
            font-weight: bold;
            font-size: 12px;
            display: inline-block;
            margin-bottom: 3px;
        }

        .logo-minsa .ministerio {
            color: #333;
            font-size: 14px;
            font-weight: 600;
        }

        .logo-sis {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .logo-sis img {
            height: 60px;
            width: auto;
        }

        .logo-sis .text-container h2 {
            color: #4a5568;
            font-size: 28px;
            font-weight: 700;
            line-height: 1;
        }

        .logo-sis .text-container span {
            color: #718096;
            font-size: 10px;
            display: block;
            margin-top: 2px;
        }

        .system-title {
            /* color: #2d3748; */
            color: white;
            font-size: 22px;
            font-weight: 600;
            margin-top: 15px;
            line-height: 1.3;
        }

        .system-title span {
            color: #4a5568;
            font-weight: 400;
        }

        /* Form Container */
        .form-container {
            padding: 40px 30px;
        }

        .form-group {
            margin-bottom: 25px;
            position: relative;
        }

        .input-group {
            display: flex;
            align-items: center;
            border: 2px solid #e2e8f0;
            border-radius: 8px;
            overflow: hidden;
            transition: all 0.3s ease;
            background: #f8f9fa;
        }

        .input-group:focus-within {
            border-color: #667eea;
            box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
        }

        .input-icon {
            background: #e2e8f0;
            padding: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #718096;
            min-width: 50px;
        }

        .input-group:focus-within .input-icon {
            background: #667eea;
            color: white;
        }

        .form-control {
            flex: 1;
            border: none;
            padding: 15px;
            font-size: 15px;
            background: transparent;
            outline: none;
            color: #2d3748;
        }

        .form-control::placeholder {
            color: #a0aec0;
        }

        /* Checkbox */
        .checkbox-container {
            display: flex;
            align-items: center;
            justify-content: flex-end;
            margin-bottom: 20px;
        }

        .checkbox-container label {
            display: flex;
            align-items: center;
            gap: 8px;
            cursor: pointer;
            color: #4a5568;
            font-size: 14px;
            user-select: none;
        }

        .checkbox-container input[type="checkbox"] {
            width: 18px;
            height: 18px;
            cursor: pointer;
            accent-color: #667eea;
        }

        /* Captcha Section */
        .captcha-section {
            background: #f8f9fa;
            padding: 10px;
            border-radius: 8px;
            margin-bottom: 15px;
            border: 2px solid #e2e8f0;
        }

        .captcha-label {
            font-weight: 600;
            color: #2d3748;
            margin-bottom: 12px;
            display: block;
            font-size: 14px;
        }

        .captcha-image-container {
            background: #fff;
            border: 3px solid #d91010;
            border-radius: 6px;
            padding: 10px;
            text-align: center;
            margin-bottom: 10px;
            position: relative;
        }

        .captcha-code {
            font-family: 'Courier New', monospace;
            font-size: 32px;
            font-weight: bold;
            color: #2d3748;
            letter-spacing: 8px;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
            background: linear-gradient(45deg, #ff0000, #0000ff, #00ff00);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            display: inline-block;
            transform: rotate(-2deg);
        }

        .captcha-refresh {
            color: #667eea;
            text-decoration: none;
            font-size: 13px;
            display: inline-flex;
            align-items: center;
            gap: 5px;
            margin-bottom: 15px;
            transition: color 0.3s;
        }

        .captcha-refresh:hover {
            color: #764ba2;
            text-decoration: underline;
        }

        .captcha-input {
            width: 100%;
            padding: 12px 15px;
            border: 2px solid #e2e8f0;
            border-radius: 6px;
            font-size: 14px;
            outline: none;
            transition: all 0.3s;
        }

        .captcha-input:focus {
            border-color: #667eea;
            box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
        }

        .captcha-input::placeholder {
            color: #a0aec0;
        }

        /* Button */
        .btn-login {
            width: 100%;
            padding: 16px;
            /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
            background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
        }

        .btn-login:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
        }

        .btn-login:active {
            transform: translateY(0);
        }

        /* Footer */
        .footer {
            background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
            color: white;
            padding: 25px 30px;
            font-size: 12px;
            line-height: 1.6;
        }

        .footer-content {
            display: grid;
            grid-template-columns: 1fr auto 1fr;
            gap: 20px;
            align-items: center;
        }

        .footer-logo {
            display: flex;
            align-items: center;
            gap: 10px;
            font-weight: bold;
            font-size: 14px;
        }

        .footer-logo img {
            height: 40px;
            width: auto;
        }

        .footer-info {
            text-align: center;
        }

        .footer-info p {
            margin: 3px 0;
            opacity: 0.9;
        }

        .footer-office {
            text-align: right;
            font-weight: 600;
            opacity: 0.9;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .logos-container {
                flex-direction: column;
                gap: 15px;
            }

            .logo-sis .text-container h2 {
                font-size: 24px;
            }

            .system-title {
                font-size: 18px;
            }

            .form-container {
                padding: 30px 20px;
            }

            .footer-content {
                grid-template-columns: 1fr;
                text-align: center;
                gap: 15px;
            }

            .footer-office {
                text-align: center;
            }
        }

        @media (max-width: 480px) {
            .captcha-code {
                font-size: 24px;
                letter-spacing: 5px;
            }

            .logo-minsa .ministerio {
                font-size: 12px;
            }
        }

        /* Animations */
        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(-20px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .login-container {
            animation: fadeIn 0.6s ease-out;
        }
