/* Custom Signup Page Styles */

/* Dark refined gradient background */
body {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 25%, #0f3460 50%, #1a1a2e 100%);
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Enhanced user page container */
.user-page {
    background: transparent;
    min-height: 100vh;
    padding: 40px 0;
    position: relative;
}

/* Refined dark card design */
.user-pro-box {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 24px;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.user-pro-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
}

.user-pro-box:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 35px 70px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Refined left panel styling */
.user-pro-info {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #1e3c72 100%);
    padding: 40px 30px;
    text-align: center;
    color: white;
    border-radius: 24px 0 0 24px;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.user-pro-info::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 30% 30%, rgba(255,255,255,0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(120, 219, 255, 0.1) 0%, transparent 60%);
    animation: float 8s ease-in-out infinite;
}

.user-pro-info::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.03) 50%, transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    50% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

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

.user-logo img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.user-logo img:hover {
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.8);
}

.user-graphics img {
    max-width: 150px;
    margin: 30px 0;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Form styling */
.user-pro-form {
    padding: 40px;
}

.form-heading {
    color: #333;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

.form-heading::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

/* Refined input styling */
.input-item {
    position: relative;
    margin-bottom: 28px;
}

.input-border-simple {
    width: 100%;
    padding: 16px 22px 16px 52px;
    border: 2px solid rgba(30, 60, 114, 0.15);
    border-radius: 14px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.95);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.input-border-simple:focus {
    border-color: #2a5298;
    background: rgba(255, 255, 255, 1);
    box-shadow: 
        0 0 0 4px rgba(42, 82, 152, 0.1),
        0 4px 12px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transform: translateY(-2px) scale(1.01);
}

.input-item em {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #2a5298;
    font-size: 18px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.input-border-simple:focus + em {
    color: #1e3c72;
    transform: translateY(-50%) scale(1.15);
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.8);
}

/* Select styling */
select {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e1e8ed;
    border-radius: 12px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    outline: none;
    cursor: pointer;
}

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

/* Refined button styling */
.btn {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #1e3c72 100%);
    border: none;
    padding: 16px 42px;
    border-radius: 14px;
    color: white;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 8px 25px rgba(30, 60, 114, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 15px 35px rgba(30, 60, 114, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    background: linear-gradient(135deg, #2a5298 0%, #1e3c72 50%, #2a5298 100%);
}

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

/* Checkbox styling */
.input-checkbox {
    display: none;
}

.input-checkbox + label {
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.input-checkbox + label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    width: 20px;
    height: 20px;
    border: 2px solid #667eea;
    border-radius: 4px;
    background: white;
    transition: all 0.3s ease;
}

.input-checkbox + label::after {
    content: '✓';
    position: absolute;
    left: 4px;
    top: 0px;
    color: white;
    font-size: 14px;
    font-weight: bold;
    opacity: 0;
    transition: all 0.3s ease;
}

.input-checkbox:checked + label::before {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
}

.input-checkbox:checked + label::after {
    opacity: 1;
}

/* Password info styling */
.reg-password-info {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 8px;
    padding: 12px 15px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #856404;
}

.reg-password-info .dashicons {
    color: #ffc107;
    margin-right: 8px;
}

/* Navigation tabs */
.nav-tabs {
    border: none;
    margin-bottom: 30px;
}

.nav-link {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* Language switcher */
.language-switcher {
    margin-top: 30px;
}

.language-switcher a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 8px 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.language-switcher a:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* Error message styling */
.text-danger {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 20px;
    color: #721c24;
}

/* Responsive design */
@media (max-width: 768px) {
    .user-pro-info {
        border-radius: 20px 20px 0 0;
        padding: 30px 20px;
    }
    
    .user-pro-form {
        padding: 30px 20px;
    }
    
    .user-graphics img {
        max-width: 120px;
    }
    
    .form-heading {
        font-size: 1.2rem;
    }
}

/* Loading animation */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.btn:disabled {
    animation: pulse 1.5s infinite;
    cursor: not-allowed;
}

/* Success state */
.input-border-simple.success {
    border-color: #28a745;
    background: rgba(40, 167, 69, 0.05);
}

/* Error state */
.input-border-simple.error {
    border-color: #dc3545;
    background: rgba(220, 53, 69, 0.05);
}

/* Smooth transitions for all elements */
* {
    transition: all 0.3s ease;
}

/* Hide default browser styling */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}