/* Styles for the New Appointment page (mobile-first, primary color: #E84E1B) */

.new-appointment-page-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 0.5rem 2rem 0.5rem;
    background: var(--background, #f8f9fa);
    min-height: 100vh;
}

.new-appointment-card {
    background: #fff;
    border-radius: 1.25rem;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
    max-width: 540px;
    width: 100%;
    padding: 1.5rem 1rem 1.5rem 1rem;
    margin-top: 1.5rem;
    border: 2px solid var(--primary, #E84E1B);
}

.new-appointment-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.new-appointment-header-icon {
    background: var(--primary, #E84E1B);
    border-radius: 0.75rem;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(232,78,27,0.10);
}

.new-appointment-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0;
    color: var(--primary, #E84E1B);
    letter-spacing: 0.01em;
}

.new-appointment-subtitle {
    font-size: 1rem;
    color: #888;
    margin: 0.1rem 0 0 0;
}

.new-appointment-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.new-form-section {
    background: #f6f7fa;
    border-radius: 0.75rem;
    padding: 1rem 0.75rem 0.5rem 0.75rem;
    margin-bottom: 0.5rem;
}

.new-form-section-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary, #E84E1B);
    margin-bottom: 0.5rem;
    letter-spacing: 0.01em;
}

.new-form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 0.75rem;
}

.new-form-group label {
    font-size: 0.98rem;
    font-weight: 500;
    margin-bottom: 0.2rem;
    color: #444;
}

.new-form-control {
    font-size: 1.08rem;
    padding: 0.6rem 0.8rem;
    border-radius: 0.5rem;
    border: 1px solid #e0e0e0;
    background: #fff;
    outline: none;
    transition: border 0.2s;
}

.new-form-control:focus {
    border: 1.5px solid var(--primary, #E84E1B);
    box-shadow: 0 0 0 2px rgba(232,78,27,0.10);
}

.new-form-row {
    display: flex;
    gap: 0.75rem;
}

@media (max-width: 600px) {
    .new-appointment-card {
        padding: 1rem 0.25rem 1.5rem 0.25rem;
    }
    .new-form-section {
        padding: 0.75rem 0.25rem 0.25rem 0.25rem;
    }
    .new-form-row {
        flex-direction: column;
        gap: 0.25rem;
    }
}

@media (min-width: 700px) {
    .new-appointment-card {
        max-width: 700px;
    }
    .new-form-row {
        flex-direction: row;
        gap: 1.5rem;
    }
    .new-form-group {
        flex: 1 1 0;
    }
}

.new-form-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.2rem;
    justify-content: flex-end;
}

.btn.btn-primary {
    background: var(--primary, #E84E1B);
    color: #fff;
    border: none;
    border-radius: 0.5rem;
    padding: 0.7rem 1.5rem;
    font-size: 1.08rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(232,78,27,0.10);
    transition: background 0.2s;
}

.btn.btn-primary:disabled {
    background: #ffd699;
    color: #fff;
    cursor: not-allowed;
}

.btn.btn-secondary {
    background: #f3f3f3;
    color: #444;
    border: none;
    border-radius: 0.5rem;
    padding: 0.7rem 1.5rem;
    font-size: 1.08rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0,0,0,0.03);
    transition: background 0.2s;
}

.alert-success {
    margin-top: 1.2rem;
    background: #e8f5e9;
    color: #388e3c;
    border-radius: 0.5rem;
    padding: 0.8rem 1rem;
    font-size: 1.05rem;
    text-align: center;
    font-weight: 500;
}
