/* Reviewed static styles from join.php. */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.welcome-box {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 4px;
    border-left: 4px solid #006fb1;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.welcome-box h2 {
    color: #006fb1;
    margin: 0 0 15px 0;
    font-size: 1.5em;
    font-weight: 500;
}

.welcome-box p {
    color: #555;
    line-height: 1.6;
    margin: 0;
    font-size: 15px;
}

.join-form {
    background: white;
    padding: 30px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.join-form h1 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.8em;
    font-weight: 400;
    text-align: center;
}

.join-form h2 {
    color: #333;
    margin-bottom: 8px;
    font-size: 1.2em;
    font-weight: 500;
}

.field-description {
    color: #666;
    font-size: 13px;
    margin-bottom: 12px;
    line-height: 1.5;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.form-control {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.2s;
    box-sizing: border-box;
    margin-bottom: 10px;
}

.form-control:focus {
    outline: none;
    border-color: #007bff;
}

.form-control:last-child {
    margin-bottom: 0;
}

.submit-button {
    background: #006fb1;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s;
    width: 100%;
}

.submit-button:hover {
    background: #005a8d;
}

.login-link {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    color: #666;
    font-size: 14px;
}

.login-link a {
    color: #006fb1;
    text-decoration: none;
    font-weight: 500;
}

.login-link a:hover {
    text-decoration: underline;
}

.alert {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.alert-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.alert-error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.captcha-info {
    color: #666;
    font-size: 13px;
    margin-bottom: 15px;
    line-height: 1.5;
}

.turnstile-container {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .welcome-box {
        padding: 20px;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .welcome-box h2 {
        font-size: 1.3em;
    }
    
    .welcome-box p {
        font-size: 14px;
    }
    
    .join-form {
        padding: 20px;
        max-width: 100%;
        margin: 0 0 20px 0;
    }
    
    .alert {
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
    
    .join-form h1 {
        font-size: 1.5em;
    }
    
    .join-form h2 {
        font-size: 1.1em;
    }
    
    .turnstile-container .cf-turnstile {
        transform: scale(0.85);
        transform-origin: center;
    }
}

@media (max-width: 480px) {
    .turnstile-container .cf-turnstile {
        transform: scale(0.77);
        transform-origin: center;
    }
}
