/* ===== VICE CMS - LOGIN PAGE STYLES ===== */

*,
*:after,
*::before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

a,
a:link,
a:hover,
a:active,
a:visited {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    text-decoration: inherit;
}

body {
    background: #EEEEEE;
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
}

.page {
    margin: 0 auto;
    width: 300px;
}

#logo {
    background: linear-gradient(135deg, #FF007F, #00BFFF);
    border-radius: 8px;
    margin: auto;
    margin-bottom: 15px;
    width: 210px;
    height: 100px;
    position: relative;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: white;
    box-shadow: 0 4px 15px rgba(255, 0, 127, 0.3);
}

#logo .logo-icon {
    font-size: 24px;
    margin-bottom: 5px;
}

#logo .logo-text {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
}

#logo .logo-subtitle {
    font-size: 11px;
    opacity: 0.8;
    font-weight: 300;
}

#box-login {
    background-color: #FFFFFF;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2), 0 3px rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    padding: 30px;
    width: 300px;
}

.form-status {
    border-radius: 4px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 13px;
    color: #FFF;
    margin-bottom: 10px;
    padding: 10px;
    width: 100%;
    text-align: center;
    display: none;
}

.form-status.error {
    background: #e74c3c;
    display: block;
}

.form-status.success {
    background: #48dbfb;
    display: block;
}

.input {
    background-color: #FFFFFF;
    border: 1px solid #DDDDDD;
    border-radius: 4px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 15px;
    color: #8290a3;
    outline: none;
    padding: 10px;
    margin-bottom: 15px;
    width: 100%;
    -webkit-transition: 0.3s all ease;
    -moz-transition: 0.3s all ease;
    transition: 0.3s all ease;
}

.input::-webkit-input-placeholder {
    color: #8290a3;
}

.input:focus {
    border-color: #FF007F;
    box-shadow: 0 1px 6px rgba(255, 0, 127, 0.3);
    -webkit-transition: 0.3s all ease;
    -moz-transition: 0.3s all ease;
    transition: 0.3s all ease;
}

#submit {
    background-color: #FF007F;
    border: 1px solid #E6006B;
    box-shadow: inset 0 2px rgba(255, 255, 255, 0.3), 0 2px 6px rgba(0, 0, 0, 0.08);
    color: #FFFFFF;
    text-shadow: 0 1px rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 18px;
    letter-spacing: -1px;
    padding: 15px;
    cursor: pointer;
    outline: none;
    width: 300px;
    -webkit-transition: 0.3s all ease;
    -moz-transition: 0.3s all ease;
    transition: 0.3s all ease;
    margin-top: 10px;
}

#submit:hover {
    background-color: #E6006B;
    box-shadow: inset 0 56px rgba(0, 0, 0, 0.05), inset 0 2px rgba(255, 255, 255, 0.3), 0 2px 6px rgba(0, 0, 0, 0.08);
    -webkit-transition: 0.3s all ease;
    -moz-transition: 0.3s all ease;
    transition: 0.3s all ease;
}

#submit:disabled {
    background-color: #ccc;
    border-color: #aaa;
    cursor: not-allowed;
    opacity: 0.7;
}

.txt_info {
    line-height: 14px;
    font-size: 13px;
    color: #666666;
    margin-bottom: 5px;
    font-weight: 700;
    font-family: 'Open Sans', sans-serif;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
    font-size: 12px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #666666;
    cursor: pointer;
}

.remember-me input[type="checkbox"] {
    width: 14px;
    height: 14px;
    accent-color: #FF007F;
}

.forgot-password {
    color: #FF007F;
    text-decoration: none;
    font-size: 12px;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #E6006B;
    text-decoration: underline;
}

.copyright {
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
    font-size: 12px;
    color: #999;
    margin-top: 10px;
    width: 100%;
    text-align: right;
}

.copyright a {
    color: #FF007F;
    text-decoration: none;
}

.copyright a:hover {
    text-decoration: underline;
}

.login {
    width: 300px;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Loading animation */
.loading {
    position: relative;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 480px) {
    .page {
        width: 280px;
        padding: 0 10px;
    }

    #box-login {
        width: 280px;
        padding: 25px 20px;
    }

    #submit {
        width: 280px;
    }

    #logo {
        width: 180px;
        height: 80px;
    }

    #logo .logo-text {
        font-size: 16px;
    }

    #logo .logo-subtitle {
        font-size: 10px;
    }

    .login {
        width: 280px;
    }
} 