/* REGISTER PAGE STYLES */

#registerMain {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 30px auto 40px auto;
    background: linear-gradient(180deg, rgba(38, 43, 52, 0.95), rgba(38, 43, 52, 0.85));
    padding: 30px 28px;
    border-radius: 16px;
    width: min(920px, 90%);
    border: 1px solid rgba(139, 92, 246, 0.25);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

#registerMain h1 {
    color: var(--color-primary);
    font-size: 34px;
    margin: 5px 0 10px 0;
    letter-spacing: 0.5px;
}

#registerMain h2 {
    color: var(--color-primary);
    font-size: 18px;
    margin: 0 0 25px 0;
    color: var(--text-muted);
}

.register {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    font-size: 16px;
    width: 100%;
    max-width: 720px;
}

.submitButton {
    padding: 12px 16px;
    background-color: var(--color-primary);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    font-weight: bold;
    letter-spacing: 0.4px;
    height: 50px;
}

.submitButton:hover {
    transition: 0.3s;
    box-shadow: 0 0 20px var(--color-primary);
    transform: translateY(-1px);
}

.register label {
    text-align: left;
    font-weight: bold;
    color: var(--text-main);
    opacity: 0.95;
}

.register input,
.register select,
.register textarea {
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    font-size: 15px;
    color: var(--color-primary) !important;
    background-color: var(--bg-main);
    resize: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
}

.register input::placeholder,
.register textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

.register input:focus,
.register select:focus,
.register textarea:focus {
    outline: none;
    border-color: rgba(139, 92, 246, 0.7);
    box-shadow: 0 0 20px var(--color-primary);
}

.register input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--color-primary);
    border-radius: 4px;
    outline: none;
    box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.3);
}

.register input[type="checkbox"]:focus-visible {
    box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.7);
}

@media (max-width: 980px) {
    .submitButton {
        width: 100%;
    }
}

@media (max-width: 700px) {
    #registerMain {
        width: 94%;
        padding: 22px 18px;
    }

    #registerMain h1 {
        font-size: 28px;
    }

    #registerMain h2 {
        font-size: 16px;
    }
}
