/* Registration Page Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header */
.register-header {
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: #ff6b35;
    text-decoration: none;
}

.logo-image {
    display: none !important;
}

.logo-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 12px;
    width: 12px;
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    border-radius: 4px;
    color: #000000;
    font-size: 0.8rem;
}

.header-nav {
    display: flex;
    align-items: center;
}

.back-to-home-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffffff;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-weight: 600;
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    border: none;
    position: relative;
    overflow: hidden;
}

.back-to-home-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;
}

.back-to-home-btn:hover::before {
    left: 100%;
}

.back-to-home-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
    color: #ffffff;
}

.back-to-home-btn i {
    font-size: 0.9rem;
}

/* Main Content */
.register-main {
    margin-top: 60px;
    height: calc(100vh - 60px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem;
    overflow: hidden;
}

.register-container {
    width: 100%;
    max-width: 1200px;
}

.register-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    height: calc(100vh - 70px);
    max-height: 550px;
}

/* Marketing Section */
.marketing-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.marketing-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 140, 66, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.marketing-content {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.marketing-content h1 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0;
    line-height: 1.1;
}

.marketing-content .highlight {
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


/* Form Section */
.form-section {
    background: rgba(26, 26, 26, 0.95);
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-container {
    width: 100%;
    max-width: 400px;
}

.form-header {
    text-align: center;
    margin-bottom: 0.5rem;
}

.form-header h2 {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.form-header p {
    color: #cccccc;
    font-size: 0.7rem;
}

/* Simple Registration Form */
.simple-registration-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Simple Input */
.simple-input {
    width: 100%;
    padding: 0.6rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: #ffffff;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    outline: none;
}

.simple-input:focus {
    border-color: #ff6b35;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.simple-input::placeholder {
    color: #666666;
}

/* Simple Submit Button */
.simple-submit {
    width: 100%;
    padding: 0.6rem;
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    border: none;
    border-radius: 6px;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.simple-submit:hover {
    background: linear-gradient(135deg, #ff8c42, #ff6b35);
    transform: translateY(-2px);
}

.simple-submit:active {
    transform: translateY(0);
}

/* Registration Form */
.modern-registration-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.form-group label {
    font-weight: 600;
    color: #ffffff;
    font-size: 0.7rem;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 0.4rem;
    color: #666666;
    z-index: 2;
    font-size: 0.7rem;
}

.modern-input {
    width: 100%;
    padding: 0.4rem 0.4rem 0.4rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: #ffffff;
    font-size: 0.7rem;
    transition: all 0.3s ease;
    outline: none;
}

.modern-input:focus {
    border-color: #ff6b35;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.modern-input.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.modern-input::placeholder {
    color: #666666;
}

.password-toggle {
    position: absolute;
    right: 0.4rem;
    background: none;
    border: none;
    color: #666666;
    cursor: pointer;
    padding: 0.2rem;
    border-radius: 3px;
    transition: color 0.3s ease;
    font-size: 0.7rem;
}

.password-toggle:hover {
    color: #ff6b35;
}

/* Checkbox */
.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: #ff6b35;
    border-color: #ff6b35;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #000000;
    font-size: 0.8rem;
}

.terms-link {
    color: #ff6b35;
    text-decoration: none;
    transition: color 0.3s ease;
}

.terms-link:hover {
    color: #ff8c42;
    text-decoration: underline;
}

/* Submit Button */
.registration-submit {
    width: 100%;
    padding: 0.4rem;
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    border: none;
    border-radius: 4px;
    color: #000000;
    font-size: 0.7rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 0.25rem;
}

.registration-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.3);
}

.registration-submit:active {
    transform: translateY(0);
}

.registration-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Form Footer */
.form-footer {
    text-align: center;
    margin-top: 0.25rem;
}

.form-footer p {
    color: #cccccc;
    font-size: 0.75rem;
}

.login-link {
    color: #ff6b35;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.login-link:hover {
    color: #ff8c42;
    text-decoration: underline;
}

/* Error Messages */
.error-message {
    color: #ef4444;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    opacity: 0;
    transform: translateY(-5px);
    transition: all 0.3s ease;
}

.error-message.show {
    opacity: 1;
    transform: translateY(0);
}

/* Footer */
.register-footer {
    display: none;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: #cccccc;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ff6b35;
}

.footer-copyright p {
    color: #666666;
    font-size: 0.8rem;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .register-content {
        grid-template-columns: 1fr;
        height: calc(100vh - 50px);
        margin: 0.5rem;
    }
    
    .marketing-section {
        padding: 1rem;
        order: 2;
    }
    
    .form-section {
        padding: 1rem;
        order: 1;
    }
    
    .marketing-content h1 {
        font-size: 1.4rem;
    }
    
    .header-container {
        padding: 0.5rem 1rem;
    }
    
    .back-to-home-btn span {
        display: none;
    }
    
    .register-main {
        padding: 0.25rem;
    }
}

@media (max-width: 480px) {
    .marketing-content h1 {
        font-size: 1.2rem;
    }
}
