/**
 * Address Book CSS
 * This file contains the CSS styles for the address book page
 */

/* Container */
.container {
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 30px;
    padding-bottom: 30px;
    padding-left: 20px;
    padding-right: 20px;
}

@media (min-width: 768px) {
    .container {
        padding-top: 50px;
        padding-bottom: 50px;
        padding-left: 300px;
        padding-right: 300px;
    }
}

/* Typography */
.page-title {
    font-size: 26px;
    font-weight: bold;
    text-align: center;
    color: #111827;
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .page-title {
        font-size: 36px;
        margin-bottom: 20px;
    }
}

.section-title {
    font-size: 26px;
    font-weight: bold;
    text-align: center;
    color: #111827;
    margin-bottom: 24px;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 36px;
    }
}

/* Empty Message */
.empty-message {
    border: 1px solid #d1d5db;
    margin-bottom: 1rem;
    padding-top: 14px;
    padding-bottom: 14px;
    padding-left: 30px;
    padding-right: 30px;
}

.empty-text {
    font-size: 14px;
    color: #4b5563;
    padding-left: 1rem;
}

@media (min-width: 768px) {
    .empty-text {
        font-size: 16px;
    }
}

/* Action Buttons */
.action-buttons {
    display: flex;
    justify-content: center;
    margin-bottom: 4rem;
    gap: 1rem;
}

@media (min-width: 768px) {
    .action-buttons {
        margin-bottom: 6.25rem;
    }
}

/* Address Form */
.add-address-form {
    padding: 20px;
    background-color: #f9fafb;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.address-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    font-size: 14px;
}

@media (min-width: 768px) {
    .address-form {
        font-size: 16px;
    }
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.25rem;
}

.required {
    color: #ef4444;
}

.form-checkbox {
    display: flex;
    align-items: center;
}

.checkbox-label {
    margin-left: 0.5rem;
    font-size: 14px;
    color: #374151;
}

@media (min-width: 768px) {
    .checkbox-label {
        font-size: 16px;
    }
}

.form-buttons {
    display: flex;
    justify-content: center;
    gap: 3.5rem;
}

@media (min-width: 768px) {
    .form-buttons {
        gap: 5rem;
    }
}

/* Buttons */
.btn {
    padding: 14px 30px;
    border-radius: 6px;
    font-weight: normal;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
    cursor: pointer;
}

.btn-primary {
    background-color: #BE930B;
    color: #ffffff;
    border: 1px solid #BE930B;
}

.btn-primary:hover {
    background-color: #d4a612;
    border-color: #d4a612;
}

/* Form Controls */
.form-control {
    width: 100%;
    padding: 5px 8px;
    border: 1px solid #d1d5db;
    border-radius: 3px;
    font-size: 14px;
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.form-control:focus {
    outline: none;
    border-color: #BE930B;
    box-shadow: 0 0 0 2px #BE930B;
    border-transparent: transparent;
}

/* Checkbox */
.checkbox {
    height: 16px;
    width: 16px;
    color: #BE930B;
    focus:ring: #BE930B;
    border-color: #d1d5db;
    border-radius: 0.25rem;
}

/* Backgrounds */
.bg-white {
    background-color: #ffffff;
}

/* Transitions */
.transition-colors {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 200ms;
}

/* Duration */
.duration-200 {
    transition-duration: 200ms;
}

/* Responsive Design */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-buttons {
        gap: 3.5rem;
    }
}


