
:root {
    /* Primary Colors (Red/Pink Theme) */
    --primary-color: #ad0f0e;        /* Main brand color - Dark Red */
    --primary-dark: #8a0b0b;         /* Darker red for hover */
    --primary-gradient: linear-gradient(135deg, #ad0f0e 0%, #d1024b 100%);
    
    /* Secondary Colors */
    --secondary-color: #3498db;      /* Blue for accents */
    --success-color: #27ae60;        /* Green for success states */
    --warning-color: #f39c12;        /* Orange/Yellow for warnings */
    --danger-color: #e74c3c;         /* Red for errors */
    
    /* Neutral Colors */
    --light-color: #f8f9fa;
    --dark-color: #2c3e50;
    --text-color: #34495e;
    --border-color: #e9ecef;
    --background-color: #f5f7fa;
    
    /* Text Colors */
    --text-dark: #2c3e50;
    --text-medium: #34495e;
    --text-light: #7f8c8d;
    
    /* Shadow Colors */
    --shadow-light: rgba(0, 0, 0, 0.08);
    --shadow-medium: rgba(0, 0, 0, 0.15);
    --shadow-primary: rgba(173, 15, 14, 0.2);
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--background-color);
    color: var(--dark-color);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.auth-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.auth-card {
    display: flex;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    min-height: 700px;
}

.auth-left {
    flex: 1;
    background: linear-gradient(135deg, var(--primary-color), #1a252f);
    color: white;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.auth-left::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    animation: pulse 8s infinite alternate;
}

@keyframes pulse {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(10%, 10%) scale(1.1); }
}

.auth-right {
    flex: 1.5;
    padding: 50px;
    overflow-y: auto;
    max-height: 700px;
}

.logo-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.logo-header i {
    font-size: 3rem;
    color: var(--secondary-color);
}

h1 {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.features {
    margin-top: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: rgba(52, 152, 219, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.form-container {
    display: none;
    animation: fadeIn 0.5s ease;
}

.form-container.active {
    display: block;
}

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

.auth-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
}

.auth-tab {
    padding: 12px 30px;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
    cursor: pointer;
    border-radius: 8px 8px 0 0;
    transition: all 0.3s ease;
    position: relative;
}

.auth-tab.active {
    color: var(--secondary-color);
}

.auth-tab.active::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 3px;
}

.form-group {
    margin-bottom: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.95rem;
}

.required {
    color: var(--danger-color);
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #7f8c8d;
}

input, select {
    width: 100%;
    padding: 14px 15px 14px 45px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

input:focus, select:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #7f8c8d;
    cursor: pointer;
    font-size: 1.1rem;
}

.upload-area {
    border: 2px dashed var(--border-color);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #fafafa;
    margin-bottom: 15px;
}

.upload-area:hover {
    border-color: var(--secondary-color);
    background-color: #f0f7ff;
}

.upload-area.dragover {
    border-color: var(--success-color);
    background-color: #e8f6ef;
}

.upload-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.upload-text {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.upload-hint {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-bottom: 15px;
}

.logo-preview {
    margin-top: 20px;
    text-align: center;
    display: none;
}

.logo-preview img {
    max-width: 200px;
    max-height: 100px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 10px;
    background: white;
}

.logo-dimensions {
    font-size: 0.85rem;
    color: var(--warning-color);
    margin-top: 10px;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(41, 128, 185, 0.3);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--border-color);
    color: var(--dark-color);
}

.btn-outline:hover {
    background-color: var(--light-color);
}

.form-footer {
    margin-top: 30px;
    text-align: center;
    color: #7f8c8d;
    font-size: 0.9rem;
}

.form-footer a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
}

.form-footer a:hover {
    text-decoration: underline;
}

.error-message {
    color: var(--danger-color);
    font-size: 0.85rem;
    margin-top: 5px;
    display: none;
}

.status {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: fadeIn 0.5s ease;
    display: none;
}

.status-success {
    background-color: rgba(39, 174, 96, 0.1);
    border-left: 5px solid var(--success-color);
    color: var(--success-color);
}

.status-error {
    background-color: rgba(231, 76, 60, 0.1);
    border-left: 5px solid var(--danger-color);
    color: var(--danger-color);
}

.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.phone-input-group {
    display: flex;
    gap: 10px;
}

.country-code {
    flex: 0 0 80px;
}

.phone-number {
    flex: 1;
}

.file-input {
    display: none;
}

@media (max-width: 992px) {
    .auth-card {
        flex-direction: column;
        max-width: 600px;
    }
    
    .auth-left {
        padding: 30px;
        min-height: 300px;
    }
    
    .auth-right {
        padding: 30px;
        max-height: none;
    }
}

@media (max-width: 576px) {
    .auth-left, .auth-right {
        padding: 20px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    .auth-tab {
        padding: 10px 20px;
        font-size: 1rem;
    }
}

.terms-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
}

.terms-checkbox input[type="checkbox"] {
    width: auto;
    padding: 0;
}

.terms-checkbox label {
    margin: 0;
    font-size: 0.9rem;
}

.password-strength {
    height: 5px;
    background: #e0e0e0;
    border-radius: 3px;
    margin-top: 5px;
    overflow: hidden;
}

.strength-bar {
    height: 100%;
    width: 0%;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.strength-weak {
    background-color: var(--danger-color);
}

.strength-medium {
    background-color: var(--warning-color);
}

.strength-strong {
    background-color: var(--success-color);
}

/* Rate limiting indicator */
.rate-limit {
    background-color: rgba(231, 76, 60, 0.1);
    border-left: 5px solid var(--danger-color);
    color: var(--danger-color);
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

/* Security badge */
.security-badge {
    background-color: rgba(39, 174, 96, 0.1);
    color: var(--success-color);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-left: 10px;
}