/* ============================================
   General Member Registration Form Styles
   ============================================ */

/* Container */
.general-member-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.general-member-register-main {
    background-color: #F5F5F0;
    min-height: 100vh;
}

/* ============================================
   Breadcrumb Section
   ============================================ */
.general-member-breadcrumb-section {
    background-color: #5BA55D;
    padding: 15px 20px;
}

.general-member-breadcrumbs {
    font-size: 14px;
    color: white;
}

/* ============================================
   Hero Section
   ============================================ */
.general-member-hero-section {
    background: #53834F;
    padding: 60px 20px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.general-member-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="none"/><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    opacity: 0.3;
}

.general-member-hero-title {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.05em;
}

.general-member-hero-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
}

.general-hero-dot {
    width: 12px;
    height: 12px;
    background-color: #F5A623;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.general-member-hero-description {
    font-size: 16px;
    line-height: 1.8;
    position: relative;
    z-index: 1;
    opacity: 0.95;
}

/* ============================================
   Form Section
   ============================================ */
.general-member-form-section {
    padding: 60px 20px 80px;
    background-color: #F5F5F0;
}

/* Target Description */
.form-target-description {
    text-align: center;
    margin-bottom: 50px;
}

.form-target-description p {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    line-height: 1.8;
}

/* Form Container */
.general-member-form-container {
    background: white;
    padding: 60px 80px;
    border-radius: 0;
    box-shadow: none;
    max-width: 900px;
    margin: 0 auto;
}

/* Simple Form Styles */
.simple-form-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    gap: 30px;
}

.simple-form-label {
    flex: 0 0 280px;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    padding-top: 12px;
    line-height: 1.6;
}

.label-sub {
    font-size: 14px;
    font-weight: 400;
}

.required-badge {
    display: inline-block;
    background-color: #E53935;
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 3px;
    margin-left: 10px;
}

.simple-form-input {
    flex: 1;
    padding: 12px 16px;
    font-size: 16px;
    border: 2px solid #E0E0E0;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.simple-form-input:focus {
    outline: none;
    border-color: #53834F;
    box-shadow: 0 0 0 3px rgba(83, 131, 79, 0.1);
}

.simple-form-submit {
    text-align: center;
    margin-top: 50px;
}

.simple-submit-button {
    display: inline-block;
    padding: 16px 80px;
    background-color: #D4A574;
    color: white;
    font-size: 18px;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.simple-submit-button:hover {
    background-color: #C89968;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Form Section */
.form-section {
    margin-bottom: 40px;
}

.form-section:last-of-type {
    margin-bottom: 0;
}

.form-section-title {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    margin-bottom: 25px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #5BA55D 0%, #4A8A4C 100%);
    color: white;
    border-radius: 8px;
    display: inline-block;
}

/* Form Row */
.form-row {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.form-label.required::after {
    content: ' *';
    color: #E53935;
    font-weight: bold;
}

.form-input-group {
    position: relative;
}

/* Form Inputs */
.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 14px 18px;
    font-size: 16px;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #5BA55D;
    box-shadow: 0 0 0 3px rgba(91, 165, 93, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* Special Input Fields */
.form-name-field {
    display: flex;
    gap: 15px;
}

.half-width {
    flex: 1;
}

.form-date-field {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.date-input {
    width: 100px;
}

.date-separator {
    font-size: 16px;
    color: #666;
    font-weight: 500;
}

.postal-input {
    max-width: 200px;
}

.form-area-field {
    display: flex;
    align-items: center;
    gap: 10px;
}

.area-input {
    max-width: 150px;
}

.area-unit {
    font-size: 16px;
    font-weight: 600;
    color: #666;
}

/* Radio and Checkbox Groups */
.form-radio-group,
.form-checkbox-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.radio-label,
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 10px 16px;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.radio-label:hover,
.checkbox-label:hover {
    border-color: #5BA55D;
    background-color: #F5F5F0;
}

.radio-label input[type="radio"],
.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.radio-text,
.checkbox-text {
    font-size: 15px;
    color: #333;
    font-weight: 500;
}

/* Help Text */
.form-help-text {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    color: #888;
}

/* Agreement Box */
.form-agreement-box {
    background: #F9F9F9;
    border: 2px solid #E0E0E0;
    border-radius: 12px;
    padding: 20px;
}

.agreement-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.agreement-checkbox {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
    flex-shrink: 0;
}

.agreement-text {
    font-size: 15px;
    color: #333;
    line-height: 1.8;
}

.agreement-text a {
    color: #5BA55D;
    text-decoration: underline;
    font-weight: 600;
}

.agreement-text a:hover {
    color: #4A8A4C;
}

/* Submit Container */
.form-submit-container {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #E0E0E0;
}

.form-submit-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 60px;
    background: linear-gradient(135deg, #5BA55D 0%, #4A8A4C 100%);
    color: white;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(91, 165, 93, 0.3);
}

.form-submit-button:hover {
    background: linear-gradient(135deg, #4A8A4C 0%, #3A7A3C 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(91, 165, 93, 0.4);
}

.submit-icon {
    font-size: 22px;
}

/* Contact Section */
.general-member-contact-section {
    display: none; /* Hide contact section */
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.contact-text {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.contact-icon {
    font-size: 20px;
}

.contact-link {
    color: #5BA55D;
    text-decoration: underline;
    font-weight: 600;
}

.contact-link:hover {
    color: #4A8A4C;
}

/* ============================================
   Validation Styles
   ============================================ */
.form-input:invalid:not(:placeholder-shown),
.form-select:invalid:not(:placeholder-shown) {
    border-color: #E53935;
}

.form-input:valid:not(:placeholder-shown),
.form-select:valid {
    border-color: #4CAF50;
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 768px) {
    .general-member-hero-title {
        font-size: 32px;
    }
    
    .general-member-form-container {
        padding: 40px 30px;
    }
    
    .simple-form-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .simple-form-label {
        flex: none;
        padding-top: 0;
    }
    
    .form-target-description p {
        font-size: 16px;
    }
    
    .notice-description,
    .notice-subtitle {
        font-size: 14px;
    }
    
    .registration-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .registration-button {
        width: 100%;
        max-width: 300px;
    }
    
    .general-member-form-container {
        padding: 30px 20px;
    }
    
    .form-title {
        font-size: 24px;
    }
    
    .form-section-title {
        font-size: 20px;
        padding: 10px 16px;
    }
    
    .form-name-field {
        flex-direction: column;
    }
    
    .half-width {
        width: 100%;
    }
    
    .form-radio-group,
    .form-checkbox-group {
        flex-direction: column;
    }
    
    .radio-label,
    .checkbox-label {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .general-member-hero-section {
        min-height: 350px;
    }
    
    .general-member-hero-title {
        font-size: 26px;
        padding: 25px 15px 10px;
    }
    
    .general-member-hero-dots {
        gap: 8px;
        padding-bottom: 30px;
    }
    
    .general-hero-dot {
        width: 10px;
        height: 10px;
    }
    
    .register-cloud-1,
    .register-cloud-2 {
        width: 80px;
    }
    
    .register-cloud-3 {
        width: 100px;
    }
    
    .register-illustration {
        width: 300px;
        height: 200px;
    }
    
    .general-member-form-section {
        padding: 60px 15px 60px;
    }
    
    .form-notice-box {
        padding: 30px 20px 25px;
    }
    
    .notice-title {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .notice-description,
    .notice-subtitle {
        font-size: 13px;
        line-height: 1.8;
    }
    
    .notice-description br,
    .notice-subtitle br {
        display: none;
    }
    
    .registration-button {
        font-size: 18px;
        height: 100px;
    }
    
    .general-member-form-container {
        padding: 25px 15px;
    }
    
    .form-title {
        font-size: 22px;
    }
    
    .form-section-title {
        font-size: 18px;
    }
    
    .form-input,
    .form-select,
    .form-textarea {
        padding: 12px 14px;
        font-size: 15px;
    }
    
    .form-submit-button {
        padding: 16px 40px;
        font-size: 16px;
        width: 100%;
    }
    
    .date-input {
        width: 80px;
    }
    
    .form-date-field {
        gap: 5px;
    }
}

