/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #000000;
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.register-container {
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Header Styles */
.header {
    text-align: center;
    margin-bottom: 20px;
}

.logo-container {
    margin-bottom: -28px;
}

.logo {
    width: 160px;
    height: 160px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.brand-name {
    font-size: 36px;
    font-weight: 700;
    color: #960822;
    margin-bottom: 0px;
    letter-spacing: 1px;
}

.brand-subtitle {
    font-size: 16px;
    font-weight: 700;
    color: #a0a0a0;
}

/* Warning Box */
.warning-box {
    background-color: #ff6b35;
    color: #000000;
    padding: 12px 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    width: 100%;
    font-weight: 700;
    font-size: 14px;
}

.warning-icon {
    flex-shrink: 0;
    color: #000000;
}

.warning-text {
    flex: 1;
}

/* Register Card Styles */
.register-card {
    background-color: #000000;
    border: 1px solid #960822;
    border-radius: 12px;
    padding: 40px;
    width: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 25px rgba(150, 8, 34, 0.6);
}

.register-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Form Group Styles */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
}

.form-input {
    background-color: #0d0d0d;
    border: 1px solid #3a3a3a;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    width: 100%;
    transition: border-color 0.2s, background-color 0.2s;
}

.form-input::placeholder {
    color: #aaaaaa;
    font-weight: 700;
}

.form-input:focus {
    outline: none;
    border-color: #960822;
    background-color: #0f0f0f;
}

/* Password Input Wrapper */
.password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-wrapper .form-input {
    padding-right: 45px;
}

.password-toggle {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.password-toggle:hover {
    color: #960822;
}

.password-toggle:focus {
    outline: none;
}

/* Password Requirements */
.password-requirements {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: -8px;
}

.requirement-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.requirement-icon {
    flex-shrink: 0;
    color: #ff4444;
    stroke-width: 3;
}

.requirement-text {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
}

/* Security Questions Section */
.security-questions-section {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #2a2a2a;
}

.section-title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.section-description {
    font-size: 13px;
    color: #a0a0a0;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* Terms Section */
.terms-section {
    margin-top: -8px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 18px;
    height: 18px;
    background-color: #0d0d0d;
    border: 1px solid #3a3a3a;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
    background-color: #960822;
    border-color: #960822;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '✓';
    color: #ffffff;
    font-size: 12px;
    font-weight: bold;
}

.checkbox-text {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
}

.terms-link {
    color: #960822;
    text-decoration: underline;
    transition: color 0.2s;
}

.terms-link:hover {
    color: #b80a2a;
}

/* Create Account Button */
.create-account-button {
    background-color: #960822;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color 0.2s, transform 0.1s;
    margin-top: 0;
    width: 100%;
    box-shadow: 0 0 15px rgba(150, 8, 34, 0.4);
}

.create-account-button:hover {
    background-color: #b80a2a;
}

.create-account-button:active {
    transform: scale(0.98);
}

.create-account-button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(150, 8, 34, 0.3), 0 0 15px rgba(150, 8, 34, 0.4);
}

.create-account-button svg {
    flex-shrink: 0;
}

/* Sign In Section */
.sign-in-section {
    text-align: center;
    margin-top: 0;
}

.sign-in-text {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    margin-right: 4px;
}

.sign-in-link {
    font-size: 14px;
    font-weight: 700;
    color: #960822;
    text-decoration: underline;
    transition: color 0.2s;
}

.sign-in-link:hover {
    color: #b80a2a;
}

/* Terms of Service Modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow-y: auto;
}

.modal-content {
    background-color: #000000;
    border: 1px solid #960822;
    border-radius: 12px;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 25px rgba(150, 8, 34, 0.6);
    position: relative;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 30px;
    border-bottom: 1px solid #2a2a2a;
}

.modal-title {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
    border-radius: 4px;
}

.modal-close:hover {
    color: #960822;
    background-color: #1a1a1a;
}

.modal-close:focus {
    outline: none;
}

.modal-body {
    padding: 30px;
    overflow-y: auto;
    flex: 1;
}

/* Custom Scrollbar Styling */
.modal-body::-webkit-scrollbar {
    width: 10px;
}

.modal-body::-webkit-scrollbar-track {
    background: #0d0d0d;
    border-radius: 5px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: #960822;
    border-radius: 5px;
    border: 2px solid #0d0d0d;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: #b80a2a;
}

/* Firefox Scrollbar Styling */
.modal-body {
    scrollbar-width: thin;
    scrollbar-color: #960822 #0d0d0d;
}

.modal-body h3 {
    font-size: 20px;
    font-weight: 700;
    color: #960822;
    margin-bottom: 16px;
    margin-top: 0;
}

.modal-body h4 {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin-top: 20px;
    margin-bottom: 12px;
}

.modal-body p {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.6;
    margin-bottom: 12px;
}

.modal-body strong {
    color: #960822;
}

.terms-welcome {
    font-size: 22px;
    font-weight: 700;
    color: #960822;
    margin-bottom: 20px;
    margin-top: 0;
}

.terms-notice {
    margin-top: 24px;
    padding: 16px;
    background-color: #1a1a1a;
    border-left: 3px solid #960822;
    border-radius: 4px;
}

.terms-notice h4 {
    color: #960822;
    margin-top: 0;
}

.terms-notice p {
    margin-bottom: 10px;
}

.terms-notice p:last-child {
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 600px) {
    .register-card {
        padding: 30px 24px;
    }

    .brand-name {
        font-size: 28px;
    }

    .logo {
        width: 60px;
        height: 60px;
    }

    .warning-box {
        font-size: 12px;
        padding: 10px 12px;
    }
}

