/* EVO DRONES - Register Page Styles */

/* CSS Variables seguindo o padrão do projeto */
:root {
    /* Cores Principais */
    --primary-color: #30B4E8;      /* Azul ciano */
    --secondary-color: #0E8BC0;    /* Azul escuro */
    --accent-color: #FF7A00;       /* Laranja */

    /* Cores de Estado */
    --success-color: #10B981;      /* Verde */
    --warning-color: #F59E0B;      /* Amarelo */
    --error-color: #EF4444;        /* Vermelho */

    /* Cores Neutras */
    --dark-color: #0F172A;         /* Azul escuro */
    --light-color: #F8FAFC;        /* Branco suave */
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1E293B;
    --gray-900: #0F172A;
}

/* Glassmorphism seguindo o padrão das regras */
.glass-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

/* Elegant Card Background */
.card-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Geometric Pattern */
.geometric-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(48, 180, 232, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(14, 139, 192, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(255, 122, 0, 0.05) 0%, transparent 50%);
    opacity: 0.6;
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.floating-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(48, 180, 232, 0.1), rgba(14, 139, 192, 0.05));
    animation: float 6s ease-in-out infinite;
}

.circle-1 {
    width: 80px;
    height: 80px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.circle-2 {
    width: 60px;
    height: 60px;
    top: 20%;
    right: 15%;
    animation-delay: 1.5s;
}

.circle-3 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 20%;
    animation-delay: 3s;
}

.circle-4 {
    width: 70px;
    height: 70px;
    bottom: 15%;
    right: 25%;
    animation-delay: 4.5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.6;
    }
}

/* Brand Watermark */
.brand-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    opacity: 0.08;
    z-index: 2;
    pointer-events: none;
}

.watermark-text {
    font-size: 8rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 0.8;
    text-shadow: 0 0 30px rgba(48, 180, 232, 0.3);
    letter-spacing: -0.02em;
}

.watermark-subtitle {
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--secondary-color);
    margin-top: -0.5rem;
    letter-spacing: 0.1em;
}

/* Card Body Positioning */
.card-body {
    position: relative;
    z-index: 10;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

/* Icon Circle seguindo o padrão das regras */
.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 4px 20px rgba(48, 180, 232, 0.3);
    position: relative;
    z-index: 15;
}

.icon-circle i {
    font-size: 2rem;
    color: white;
}

/* Progress Steps */
.progress-step {
    font-size: 0.875rem;
    color: var(--gray-500);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 15;
}

.progress-step.active {
    color: var(--primary-color);
    font-weight: 600;
}

.progress-step i {
    margin-right: 0.25rem;
}

/* Form Check Cards */
.form-check-card {
    position: relative;
    z-index: 15;
}

.form-check-card .form-check-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.form-check-card .form-check-label {
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-check-card .form-check-label .card {
    border: 2px solid var(--gray-200);
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
}

.form-check-card .form-check-input:checked + .form-check-label .card {
    border-color: var(--primary-color);
    background: rgba(48, 180, 232, 0.15);
    box-shadow: 0 0 0 2px rgba(48, 180, 232, 0.2);
}

.form-check-card .form-check-label:hover .card {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(48, 180, 232, 0.2);
}

/* Form Controls */
.form-control {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--gray-300);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    position: relative;
    z-index: 15;
}

.form-control:focus {
    background: white;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(48, 180, 232, 0.2);
}

.form-control.bg-light {
    background: var(--gray-100) !important;
}

/* Step Content */
.step-content {
    animation: fadeInUp 0.5s ease-out;
    position: relative;
    z-index: 15;
}

.password-strength-weak {
    width: 33% !important;
    background-color: var(--error-color) !important;
}

.password-strength-medium {
    width: 66% !important;
    background-color: var(--warning-color) !important;
}

.password-strength-strong {
    width: 100% !important;
    background-color: var(--success-color) !important;
}

/* Step Content */
.step-content {
    animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Button Styles */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(48, 180, 232, 0.3);
}

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Alert Styles */
.alert-info {
    background: rgba(48, 180, 232, 0.1);
    border: 1px solid rgba(48, 180, 232, 0.2);
    color: var(--dark-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .watermark-text {
        font-size: 5rem;
    }
    
    .watermark-subtitle {
        font-size: 1.5rem;
    }
    
    .floating-circle {
        opacity: 0.3;
    }
    
    .circle-1, .circle-3 {
        width: 60px;
        height: 60px;
    }
    
    .circle-2, .circle-4 {
        width: 40px;
        height: 40px;
    }
    
    .icon-circle {
        width: 60px;
        height: 60px;
    }
    
    .icon-circle i {
        font-size: 1.5rem;
    }
    
    .progress-step {
        font-size: 0.75rem;
    }
    
    .form-check-card .form-check-label .card {
        padding: 1rem !important;
    }
    
    .glass-card {
        border-radius: 16px;
        margin: 1rem;
    }
}

@media (max-width: 576px) {
    .watermark-text {
        font-size: 3.5rem;
    }
    
    .watermark-subtitle {
        font-size: 1rem;
    }
    
    .floating-circle {
        opacity: 0.2;
    }
    
    .circle-1, .circle-3 {
        width: 40px;
        height: 40px;
    }
    
    .circle-2, .circle-4 {
        width: 30px;
        height: 30px;
    }
}

/* Desativar seleção de texto */
body, img, .logo-drone {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* Loading States */
.btn.loading {
    position: relative;
    pointer-events: none;
}

.btn.loading .spinner-border {
    display: inline-block !important;
}

.btn.loading .btn-text {
    opacity: 0;
}

/* Form Validation States */

/* Header Navigation Styles - Seguindo padrão da página inicial */
.nav-link.neon-cyan,
.orbitron.neon-cyan {
    color: black !important;
    text-shadow: none !important;
    transition: all 0.3s ease;
}

.nav-link.neon-cyan:hover,
.orbitron.neon-cyan:hover {
    color: black !important;
    text-shadow: none !important;
    transform: translateY(-1px);
}

.orbitron {
    font-family: 'Orbitron', monospace;
}

/* Mobile Menu Styles */
#mobile-menu {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    margin-top: 0.5rem;
    padding: 1rem;
}

#mobile-menu .nav-link {
    color: black !important;
    text-shadow: none !important;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

#mobile-menu .nav-link:last-child {
    border-bottom: none;
}

/* Header Background */
nav.fixed {
    background: rgba(0, 0, 0, 0.1) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 255, 255, 0.3) !important;
}

/* Adjust main content padding for fixed header */
main.pt-20 {
    padding-top: 5rem !important;
}
.was-validated .form-control:valid {
    border-color: var(--success-color);
}

.was-validated .form-control:invalid {
    border-color: var(--error-color);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}
