:root {
    --primary: #24B9C8;
    --primary-dark: #1a8a96;
    --primary-light: #7fd9e2;
    --secondary: #0F213C;
    --secondary-dark: #091628;
    --secondary-light: #2c4470;
    --accent: #FF6B6B;
    --gradient-start: #24B9C8;
    --gradient-end: #0F213C;
    --text-light: #ffffff;
    --text-dark: #333333;
    --text-muted: #6c757d;
    --border-radius: 12px;
    --border-radius-lg: 16px;
    --box-shadow: 0 8px 30px rgba(15, 33, 60, 0.1);
    --animation-speed: 0.3s;
    --glow-color: rgba(36, 185, 200, 0.6);
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fa;
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    transition: all var(--animation-speed) ease;
}

/* Login Page Enhancements */
.login-container {
    height: 100vh;
    overflow: hidden;
    position: relative;
    display: block !important;
    background-color: #000;
}

.login-banner {
    position: relative;
    height: 100%;
    background-color: var(--secondary-dark);
    background-image: linear-gradient(135deg, var(--secondary-dark), var(--secondary));
    background-size: cover;
    background-position: center;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.2);
    display: block !important;
}

.login-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(36, 185, 200, 0.6) 0%, rgba(15, 33, 60, 0.95) 100%);
    z-index: 1;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.05);
    background-image: 
        radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 20px 20px, 40px 40px, 40px 40px;
    opacity: 0.3;
    z-index: 2;
    animation: backgroundMove 60s linear infinite;
}

@keyframes backgroundMove {
    0% {
        background-position: 0 0, 0 0, 0 0;
    }
    100% {
        background-position: 40px 40px, 40px 0, 0 40px;
    }
}

.floating-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 3;
    pointer-events: none;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background-color: var(--primary);
    box-shadow: 0 0 10px 2px var(--primary-light);
}

.banner-content {
    position: relative;
    z-index: 4;
    text-align: center;
    padding: 1.5rem;
    max-width: 550px;
    background: rgba(15, 33, 60, 0.6);
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
    0% {
        box-shadow: 0 0 10px rgba(36, 185, 200, 0.3);
    }
    100% {
        box-shadow: 0 0 25px rgba(36, 185, 200, 0.7);
    }
}

.banner-content h1 {
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 0 15px rgba(36, 185, 200, 0.7);
    letter-spacing: 1px;
    background: linear-gradient(90deg, #ffffff, var(--primary-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2.5rem;
}

.banner-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    color: #e6f7f9;
}

.banner-image {
    position: relative;
    z-index: 3;
    max-width: 60%;
    max-height: 180px;
    margin: 1rem auto 1.5rem;
    filter: drop-shadow(0 0 15px rgba(36, 185, 200, 0.5));
    transition: transform 0.5s ease;
}

.banner-image:hover {
    transform: translateY(-5px) scale(1.03);
}

.banner-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    padding: 1.2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(15px);
    border-radius: var(--border-radius);
    border: 1px solid rgba(36, 185, 200, 0.2);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    width: 120px;
    position: relative;
    overflow: hidden;
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(36, 185, 200, 0) 0%, rgba(36, 185, 200, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), 0 0 10px rgba(36, 185, 200, 0.5);
    border-color: var(--primary);
}

.feature:hover::before {
    opacity: 1;
}

.feature i {
    font-size: 2rem;
    margin-bottom: 0.3rem;
    filter: drop-shadow(0 0 8px rgba(36, 185, 200, 0.8));
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #24B9C8, #99E5EB);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature:hover i {
    transform: scale(1.15);
    filter: drop-shadow(0 0 12px rgba(36, 185, 200, 1));
}

.feature span {
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    color: #e6f7f9;
}

.login-form-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background-color: #f0f4f8;
    background-image: 
        linear-gradient(135deg, rgba(36, 185, 200, 0.03) 25%, transparent 25%),
        linear-gradient(225deg, rgba(36, 185, 200, 0.03) 25%, transparent 25%),
        linear-gradient(315deg, rgba(36, 185, 200, 0.03) 25%, transparent 25%),
        linear-gradient(45deg, rgba(36, 185, 200, 0.03) 25%, transparent 25%);
    background-size: 30px 30px;
    overflow-y: auto;
}

.login-form-wrapper {
    width: 100%;
    max-width: 400px;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    background-color: #ffffff;
    box-shadow: 0 10px 30px rgba(15, 33, 60, 0.1), 0 0 0 1px rgba(36, 185, 200, 0.1);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    animation: formAppear 0.6s ease-out;
}

@keyframes formAppear {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, transparent, rgba(36, 185, 200, 0.1));
    border-radius: 0 0 0 100%;
    opacity: 0.8;
}

.login-form-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, transparent, rgba(15, 33, 60, 0.1));
    border-radius: 0 100% 0 0;
    opacity: 0.8;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.8rem;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    margin-right: 0.6rem;
    box-shadow: 0 0 15px rgba(36, 185, 200, 0.4);
    transition: all 0.4s ease;
    transform-origin: center;
    animation: pulse 2s ease-in-out infinite alternate;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 10px rgba(36, 185, 200, 0.4);
    }
    100% {
        box-shadow: 0 0 20px rgba(36, 185, 200, 0.7);
    }
}

.logo-icon:hover {
    transform: rotate(10deg) scale(1.1);
}

.logo-icon i {
    font-size: 1.6rem;
    color: #ffffff;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
}

.logo-text {
    font-weight: 700;
    font-size: 1.6rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.5px;
    text-shadow: 0 0 10px rgba(36, 185, 200, 0.2);
}

.slogan {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

/* Form Styles Enhancement */
.floating-input {
    position: relative;
    margin-bottom: 1.5rem;
}

.floating-input input {
    height: 55px;
    padding: 1.2rem 1rem 0.5rem 3rem;
    border: 2px solid #e0e0e0;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: all var(--animation-speed) ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
    background-color: #f8fafc;
}

.floating-input input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(36, 185, 200, 0.25);
    background-color: #ffffff;
}

.floating-input .input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    transition: all 0.3s ease;
    z-index: 1;
}

.floating-input input:focus ~ .input-icon {
    color: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

.floating-input label {
    position: absolute;
    top: 0;
    left: 3rem;
    height: 100%;
    padding: 1rem;
    pointer-events: none;
    transform-origin: 0 0;
    transition: all var(--animation-speed) ease;
    color: var(--text-muted);
}

.floating-input input:focus ~ label,
.floating-input input:not(:placeholder-shown) ~ label {
    transform: scale(0.85) translateY(-0.75rem);
    color: var(--primary);
}

.btn-toggle-password {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: all var(--animation-speed) ease;
    z-index: 2;
}

.btn-toggle-password:hover {
    color: var(--primary);
}

.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.form-check-input {
    width: 1.1em;
    height: 1.1em;
    margin-top: 0.15em;
    transition: all 0.3s ease;
}

.form-check-input:checked {
    box-shadow: 0 0 0 0.15rem rgba(36, 185, 200, 0.25);
}

.form-check-label {
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.form-check:hover .form-check-label {
    color: var(--primary);
}

.forgot-password {
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: all var(--animation-speed) ease;
    position: relative;
}

.forgot-password::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.forgot-password:hover {
    color: var(--primary);
}

.forgot-password:hover::after {
    width: 100%;
}

.btn-login {
    height: 50px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--border-radius);
    background: linear-gradient(45deg, var(--primary), var(--primary-dark));
    border: none;
    color: var(--text-light);
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all var(--animation-speed) ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(36, 185, 200, 0.3);
}

.btn-login::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.5s ease;
    z-index: -1;
}

.btn-login::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-light), transparent);
    animation: glow-line 2s linear infinite;
}

@keyframes glow-line {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.btn-login:hover::before {
    width: 100%;
}

.btn-login:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(36, 185, 200, 0.4);
    background: linear-gradient(45deg, var(--primary-dark), var(--primary));
}

.btn-text {
    transition: all var(--animation-speed) ease;
    margin-right: 0.5rem;
}

.btn-icon {
    opacity: 0;
    transform: translateX(-20px);
    transition: all var(--animation-speed) ease;
}

.btn-login:hover .btn-text {
    transform: translateX(-10px);
}

.btn-login:hover .btn-icon {
    opacity: 1;
    transform: translateX(0);
}

/* Social Login Styles */
.social-login {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    justify-content: center;
}

.social-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: white;
    color: #333;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.social-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(36, 185, 200, 0.1);
    transform: scale(0);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.social-btn:hover::before {
    transform: scale(1);
}

.social-btn.google:hover { color: #DB4437; border-color: #DB4437; }
.social-btn.facebook:hover { color: #4267B2; border-color: #4267B2; }
.social-btn.twitter:hover { color: #1DA1F2; border-color: #1DA1F2; }

.divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    color: var(--text-muted);
    font-size: 0.85rem;
    position: relative;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent);
}

.divider::before { margin-right: 1rem; }
.divider::after { margin-left: 1rem; }

/* Error Messages */
.error-message {
    font-size: 0.75rem;
    color: var(--accent);
    margin-top: 0.3rem;
    padding-left: 3rem;
    opacity: 0;
    transform: translateY(-5px);
    animation: errorAppear 0.3s forwards;
}

@keyframes errorAppear {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Futuristic Elements */
.neon-border {
    position: relative;
}

.neon-border::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary), transparent, var(--primary));
    z-index: -1;
    animation: borderGlow 3s linear infinite;
    border-radius: calc(var(--border-radius) + 2px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.neon-border:hover::after {
    opacity: 1;
}

@keyframes borderGlow {
    0% {
        filter: blur(3px);
        background-position: 0% 0%;
    }
    100% {
        filter: blur(3px);
        background-position: 300% 0%;
    }
}

/* Responsive Enhancements */
@media (max-width: 1199.98px) {
    .banner-content h1 {
        font-size: 2.2rem;
    }
    .banner-content p {
        font-size: 1rem;
    }
    .banner-image {
        max-width: 50%;
    }
}

@media (max-width: 991.98px) {
    .login-form-container {
        padding: 1rem;
    }
    .login-form-wrapper {
        padding: 1.5rem;
    }
    .banner-content {
        padding: 1.2rem;
    }
    .banner-content h1 {
        font-size: 2rem;
    }
    .banner-features {
        gap: 1rem;
    }
    .feature {
        width: 100px;
    }
    .feature i {
        font-size: 1.8rem;
    }
    .feature span {
        font-size: 0.8rem;
    }
    .banner-image {
        max-width: 45%;
        max-height: 140px;
    }
}

@media (max-width: 767.98px) {
    .login-container {
        display: flex;
        flex-direction: column;
    }
    .login-banner {
        height: 40vh;
        min-height: 300px;
    }
    .login-form-container {
        height: 60vh;
    }
    .login-form-wrapper {
        padding: 1.2rem;
        margin: 1rem 0;
    }
    .banner-content h1 {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    .banner-content p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    .banner-features {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.8rem;
        margin-top: 1rem;
    }
    .feature {
        width: calc(33.33% - 0.8rem);
        padding: 0.8rem;
    }
    .feature i {
        font-size: 1.5rem;
    }
    .feature span {
        font-size: 0.75rem;
    }
    .floating-input {
        margin-bottom: 1.2rem;
    }
    .floating-input input {
        height: 50px;
        font-size: 0.9rem;
    }
    .floating-input label {
        font-size: 0.9rem;
    }
    .btn-login {
        height: 45px;
        font-size: 0.9rem;
    }
    .banner-image {
        max-width: 30%;
        max-height: 100px;
        margin: 0.5rem auto 1rem;
    }
}

@media (max-width: 575.98px) {
    .login-banner {
        height: 35vh;
        min-height: 250px;
    }
    .login-form-container {
        height: 65vh;
    }
    .banner-content {
        width: 90%;
        padding: 1rem;
    }
    .banner-content h1 {
        font-size: 1.6rem;
    }
    .banner-content p {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }
    .banner-features {
        gap: 0.5rem;
        margin-top: 0.5rem;
    }
    .feature {
        width: calc(50% - 0.5rem);
        padding: 0.6rem;
    }
    .feature i {
        font-size: 1.3rem;
    }
    .feature span {
        font-size: 0.7rem;
    }
    .banner-image {
        display: none;
    }
}

@media (max-height: 700px) {
    .login-form-wrapper {
        padding: 1rem;
    }
    .floating-input {
        margin-bottom: 1rem;
    }
    .floating-input input {
        height: 48px;
    }
    .logo-icon {
        width: 40px;
        height: 40px;
    }
    .logo-text {
        font-size: 1.4rem;
    }
    .slogan {
        margin-bottom: 1rem;
    }
    .btn-login {
        height: 45px;
    }
    .banner-content {
        padding: 1rem;
    }
    .banner-content h1 {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    .banner-content p {
        margin-bottom: 0.5rem;
    }
    .banner-features {
        margin-top: 0.5rem;
    }
}

/* Ensure all elements are visible */
.sidebar, .main-content, .dashboard-container, .login-container, .login-form-container {
    display: block !important;
}

.main-content {
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    transition: all var(--animation-speed) ease;
    background-color: #f9fafc;
    padding-top: var(--topbar-height);
    width: calc(100% - var(--sidebar-width));
    position: relative;
    display: block !important;
}

/* Fix for missing images */
.stats-card {
    background-color: #ffffff;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--card-shadow);
    transition: all var(--animation-speed) ease;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 1.5rem;
    display: block !important;
}

/* Ensure card visibility */
.card {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Default image placeholder style */
img[src$=".svg"]:not([src*="data:"]),
img[src$=".jpg"]:not([src*="data:"]),
img[src$=".png"]:not([src*="data:"]) {
    background-color: #f0f0f0;
    position: relative;
}

img[src$=".svg"]:not([src*="data:"])::before,
img[src$=".jpg"]:not([src*="data:"])::before,
img[src$=".png"]:not([src*="data:"])::before {
    content: "Imagem";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #999;
    font-size: 14px;
}

/* Responsive Enhancements */
@media (max-width: 1199.98px) {
    .banner-content h1 {
        font-size: 2.2rem;
    }
    .banner-content p {
        font-size: 1rem;
    }
}

@media (max-width: 991.98px) {
    .login-form-container {
        padding: 1rem;
    }
    .login-form-wrapper {
        padding: 1.5rem;
    }
    .banner-content {
        padding: 1.2rem;
    }
    .banner-content h1 {
        font-size: 2rem;
    }
    .banner-features {
        gap: 1rem;
    }
    .feature {
        width: 100px;
    }
    .feature i {
        font-size: 1.8rem;
    }
    .feature span {
        font-size: 0.8rem;
    }
}

@media (max-width: 767.98px) {
    .login-form-wrapper {
        padding: 1.2rem;
        margin: 1rem 0;
    }
    .banner-content h1 {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    .banner-content p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    .banner-features {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.8rem;
        margin-top: 1rem;
    }
    .feature {
        width: calc(50% - 0.8rem);
        padding: 0.8rem;
    }
    .feature i {
        font-size: 1.5rem;
    }
    .feature span {
        font-size: 0.75rem;
    }
    .floating-input {
        margin-bottom: 1.2rem;
    }
    .floating-input input {
        height: 50px;
        font-size: 0.9rem;
    }
    .floating-input label {
        font-size: 0.9rem;
    }
    .btn-login {
        height: 45px;
        font-size: 0.9rem;
    }
}

@media (max-height: 700px) {
    .login-form-wrapper {
        padding: 1rem;
    }
    .floating-input {
        margin-bottom: 1rem;
    }
    .floating-input input {
        height: 48px;
    }
    .logo-icon {
        width: 40px;
        height: 40px;
    }
    .logo-text {
        font-size: 1.4rem;
    }
    .slogan {
        margin-bottom: 1rem;
    }
    .btn-login {
        height: 45px;
    }
} 