/* style/register.css */

/* Base styles for the page-register scope */
.page-register {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: var(--black-color); /* Body background is dark, so content text should be light by default */
    color: #ffffff; /* Default text color for dark background */
}

/* Container for consistent spacing */
.page-register__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Section titles and descriptions */
.page-register__section-title {
    font-size: 2.5em;
    color: #26A9E0; /* Primary brand color for titles */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-register__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #f0f0f0; /* Slightly lighter white for description on dark bg */
}

/* Links */
.page-register__link {
    color: #26A9E0;
    text-decoration: none;
    font-weight: bold;
}

.page-register__link:hover {
    text-decoration: underline;
}

/* Buttons */
.page-register__btn-primary,
.page-register__btn-secondary,
.page-register__btn-submit {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.page-register__btn-primary {
    background-color: #26A9E0; /* Primary brand color */
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-register__btn-primary:hover {
    background-color: #1e87b6;
    border-color: #1e87b6;
}

.page-register__btn-secondary {
    background-color: transparent;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-register__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
}

.page-register__btn-submit {
    background-color: #EA7C07; /* Login/Prominent button color */
    color: #ffffff;
    border: 2px solid #EA7C07;
    width: 100%;
    margin-top: 20px;
    font-size: 1.1em;
}

.page-register__btn-submit:hover {
    background-color: #c46606;
    border-color: #c46606;
}

.page-register__btn-large {
    padding: 15px 35px;
    font-size: 1.2em;
}

/* Hero Section */
.page-register__hero-section {
    position: relative;
    padding: 80px 0;
    padding-top: var(--header-offset, 120px); /* Ensure header offset */
    background-color: var(--black-color);
    color: #ffffff;
    text-align: center;
    overflow: hidden; /* Prevent image overflow */
}

.page-register__hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.page-register__hero-text {
    max-width: 800px;
}

.page-register__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #ffffff;
    line-height: 1.2;
}

.page-register__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-register__hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-register__hero-image {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin-top: 40px;
    z-index: 1;
}

.page-register__hero-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: block;
}

/* Form Section */
.page-register__form-section {
    padding: 80px 0;
    background-color: #ffffff; /* Light background for form */
    color: #333333; /* Dark text for light background */
    position: relative;
    overflow: hidden;
}

.page-register__form-section .page-register__section-title {
    color: #333333;
}

.page-register__form-section .page-register__section-description {
    color: #555555;
}

.page-register__form-area {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.page-register__registration-form {
    background-color: #f8f8f8;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    width: 100%;
    box-sizing: border-box;
}

.page-register__form-group {
    margin-bottom: 20px;
}

.page-register__form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333333;
}

.page-register__form-input {
    width: calc(100% - 20px);
    padding: 12px 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box;
    color: #333333;
    background-color: #ffffff;
}

.page-register__form-input:focus {
    border-color: #26A9E0;
    outline: none;
    box-shadow: 0 0 5px rgba(38, 169, 224, 0.3);
}

.page-register__form-hint {
    font-size: 0.85em;
    color: #777;
    margin-top: 5px;
    display: block;
}

.page-register__captcha-input-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.page-register__captcha-input {
    flex-grow: 1;
}