/* Import your root variables */
:root {
    --primary-dark: #8b1377;
    --primary: #c44bba;
    --primary-light: #e600c0; 
    --primary-gradient: linear-gradient(135deg, #c44bba 0%, #dc7ae9 100%);
    
    /* Secondary Colors - From Logo */
    --secondary-dark: #fff;
    --secondary: #fff;
   
    /* Background Colors */
    --bg-light: #f9f9f9;
    --bg-dark: #2c3e50;
    
    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-normal: 0.5s ease;
    --transition-slow: 0.8s ease;
    
}

body {
    background: var(--bg-dark) !important;
}

.login .submit-row input {
    background-color: var(--primary) !important;
    width: 100%;
}

.login .submit-row input:hover {
    background-color: var(--primary-dark) !important; 
}

/* Branding section - replaces Django Administration */
.racas-branding {
    text-align: center;
    padding: 40px 25px 25px;
}

.racas-logo {
    max-width: 100%;
    height: auto;
    animation: fadeInDown 0.6s ease;
}

/* Header section */
.racas-header {
    text-align: center;
    padding: 0 30px 20px;
}

.racas-tagline {
    color: var(--primary);
    font-size: 14px;
    margin: 0;
    animation: fadeInDown 0.6s ease;
}

input, label{
    animation: fadeInDown 0.6s ease;
}

/* Error messages */
.errornote {
    background-color: #f8d7da !important;
    border-left: 4px solid var(--danger) !important;
    color: #721c24 !important;
    border-radius: var(--radius-md) !important;
    padding: 12px !important;
    margin-bottom: 20px !important;
}

.errorlist li {
    color: var(--danger) !important;
    font-size: 12px !important;
}

/* Footer styling */
.racas-footer {
    text-align: center;
    padding: 20px 30px 30px;
    background: var(--white);
    border-top: 1px solid #e0e0e0;
    margin-top: 20px;
    animation: fadeInDown 0.6s ease;
}

.racas-footer p {
    color: var(--text-muted);
    font-size: 12px;
    margin: 0 0 10px 0;
}

.back-to-site {
    color: var(--primary) !important;
    text-decoration: none;
    font-size: 13px;
    transition: color var(--transition-fast);
}

.back-to-site:hover {
    color: var(--primary-dark) !important;
    text-decoration: underline;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive design */
@media (max-width: 480px) {
   
    .racas-logo {
        max-width: 60px;
    }
    
    .racas-title {
        font-size: 20px;
    }
    
    #content-main {
        padding: 0 20px 20px !important;
    }
    
    .racas-footer {
        padding: 15px 20px 20px;
    }
}

/* Responsive design */
@media (max-width: 768px) {
   
    .racas-logo {
        max-width: 100%;
        height: auto;
    }
    
    .racas-title {
        font-size: 20px;
    }
    
    .racas-footer {
        padding: 15px 20px 20px;
    }
}