/* Modern Registration Page Styles - Theme Matched */
/* Fonts and Colors drawn from styles.css and zone.css */

.registration-container {
    max-width: 700px;
    margin: 20px auto;
    background: #fff;
    padding: 30px;
    /* Using simpler border/box-shadow to match site's "classic" look */
    border: 1px solid #ccc;
    border-radius: 4px;
    /* Slight radius */
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    font-family: Tahoma, Verdana, Arial, sans-serif;
    /* Site font */
}

.registration-header {
    text-align: center;
    margin-bottom: 25px;
    border-bottom: 1px solid #e6e6e6;
    /* Lighter separator */
    padding-bottom: 15px;
}

.registration-header h2 {
    color: #353535;
    /* Site main text color */
    font-size: 21px;
    /* h2 size from styles.css */
    margin: 0;
    font-weight: bold;
    text-transform: uppercase;
    /* Common in DLE themes */
}

.registration-intro {
    background: #f9f9f9;
    /* Site mostly uses f9f9f9 for areas */
    padding: 15px;
    border-left: 4px solid #3394e6;
    /* Site Primary Blue */
    margin-bottom: 20px;
    color: #555;
    font-size: 12px;
    /* Slightly smaller standard text */
    line-height: 1.5;
}

.registration-form table {
    width: 100%;
}

.form-group {
    margin-bottom: 15px;
}

.form-label {
    display: block;
    margin-bottom: 5px;
    color: #333;
    font-weight: bold;
    font-size: 12px;
}

.form-label .impot {
    color: #aa0000;
    /* Darker red for required fields */
    margin-left: 4px;
}

/* Matching .f_input style but full width */
.form-input {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #999;
    /* Matches .f_input border */
    background-color: #fff;
    /* Optional: background-image: url("../images/fields.gif"); if you truly want to mimic it, but solid white is better for 'modern' */
    color: #353535;
    font-size: 12px;
    box-sizing: border-box;
    /* Important for padding */
    height: 32px;
    /* Fixed height for consistency */
}

.form-input:focus {
    border-color: #3394e6;
    /* Theme Blue */
    box-shadow: 0 0 3px rgba(51, 148, 230, 0.4);
    outline: none;
}

/* Textarea specific */
textarea.form-input {
    height: auto;
    padding: 10px;
}

.username-check-group {
    display: flex;
    gap: 8px;
}

.check-btn {
    padding: 0 15px;
    background: #eee;
    border: 1px solid #999;
    color: #333;
    font-weight: bold;
    font-size: 11px;
    cursor: pointer;
    height: 32px;
    /* Match input height */
    line-height: 30px;
}

.check-btn:hover {
    background: #e0e0e0;
}

.registration-submit {
    margin-top: 25px;
    text-align: center;
}

/* Primary Button - Matches Site "Yellow/Orange" Accent */
.submit-btn {
    background-color: #f39c12;
    /* Golden Yellow/Orange from theme */
    color: #fff;
    border: none;
    padding: 10px 30px;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 3px;
    transition: background-color 0.2s;
}

.submit-btn:hover {
    background-color: #d35400;
    /* Slightly darker orange on hover */
}

.captcha-section {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #f5f5f5;
    padding: 10px;
    border: 1px solid #eee;
}

.captcha-image img {
    vertical-align: middle;
    border: 1px solid #ccc;
}

.captcha-input input {
    width: 150px;
    /* Smaller width for captcha input */
}

/* Validation section styling */
#result-registration {
    font-size: 11px;
    margin-top: 5px;
}

@media (max-width: 600px) {
    .registration-container {
        padding: 15px;
        margin: 10px;
    }

    .captcha-section {
        flex-direction: column;
        align-items: flex-start;
    }

    .captcha-input input {
        width: 100%;
    }
}

/* Styling for Select inputs (e.g. Recipient) */
.registration-form select {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #999;
    background-color: #fff;
    color: #353535;
    font-size: 12px;
    box-sizing: border-box;
    height: 32px;
    border-radius: 0;
    /* consistent with inputs */
}

.registration-form select:focus {
    border-color: #3394e6;
    box-shadow: 0 0 3px rgba(51, 148, 230, 0.4);
    outline: none;
}