/* Duty Day Calendar — Login and Registration Form Styles */

.ddc_form {
    max-width: 600px;
    margin: 0 auto;
    padding: 25px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.ddc_header {
    margin-top: 0;
    margin-bottom: 20px;
    background-color: #7c0800;
    color: #ffffff;
    padding: 15px;
    border-radius: 6px;
    text-align: center;
    font-size: 20px;
}

.ddc_form fieldset {
    border: none;
    padding: 0;
    margin: 0;
}

.ddc_form p {
    margin-bottom: 15px;
}

.ddc_form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #444;
}

.ddc_form input[type="text"],
.ddc_form input[type="email"],
.ddc_form input[type="password"],
.ddc_form select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
}

.ddc_form input[type="submit"] {
    background-color: #7c0800;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.ddc_form input[type="submit"]:hover {
    background-color: #952119;
}

/* City, State, Zip layout */
.ddc_form .city {
    width: 50%;
    display: inline-block;
    margin-right: 2%;
}

.ddc_form .state {
    width: 15%;
    display: inline-block;
    margin-right: 2%;
}

.ddc_form .zip {
    width: 25%;
    display: inline-block;
}

/* Error messages */
.ddc_errors {
    background-color: #ffebee;
    border-left: 4px solid #f44336;
    padding: 10px 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.ddc_errors .error {
    color: #d32f2f;
    font-size: 14px;
    line-height: 1.5;
}

/* Success message */
.message {
    background-color: #e8f5e9;
    border-left: 4px solid #4caf50;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    color: #2e7d32;
    font-weight: 600;
}

/* Add to your login-forms.css file */
.forgot-password-link {
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
}

.forgot-password-link a {
    color: #7c0800;
    text-decoration: none;
}

.forgot-password-link a:hover {
    text-decoration: underline;
}

/* Responsive styles */
@media (max-width: 768px) {
    .ddc_form {
        padding: 15px;
    }
    
    .ddc_form .city,
    .ddc_form .state,
    .ddc_form .zip {
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .ddc_form label[for="ddc_user_state"],
    .ddc_form label[for="ddc_user_zip"] {
        margin-top: 10px;
    }
}

/* Admin password-reset surface (admin selects another attorney to act on). */
.ddc-admin-reset-selector {
    max-width: 600px;
    margin: 0 auto 20px;
    padding: 18px 25px;
    background-color: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.ddc-admin-reset-selector p {
    margin: 0;
}

.ddc-admin-reset-selector label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #444;
}

.ddc-admin-reset-selector select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fafafa;
    font-size: 16px;
    box-sizing: border-box;
}

.ddc-admin-reset-selector + .attorney-info {
    max-width: 600px;
    margin: 0 auto 16px;
    padding: 16px 25px;
    background-color: #fff;
    border: 1px solid #e5e5e5;
    border-left: 4px solid #7c0800;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.ddc-admin-reset-selector + .attorney-info p {
    margin: 0 0 6px;
    font-size: 15px;
}

.ddc-admin-reset-selector + .attorney-info p:last-child {
    margin-bottom: 0;
}

.ddc_form label input[type="checkbox"] {
    margin-right: 6px;
}