/* LUXURY THEME ADDRESS PAGE */

.address-container {
    margin-top: 40px;
    min-height: 80vh;
}


/* Address Header - Added for spacing */
.address-container .address-header {
    margin-bottom: 50px;
    gap: 20px;
    flex-wrap: wrap;
}

/* Address Grid */
.address-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.address-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    position: relative;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.address-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border-color: var(--primary);
}

.address-card.default {
    border-color: var(--accent);
    background: #fffdf5;
}

.default-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent);
    color: #fff;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.card-body {
    padding: 25px;
}

.card-title {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.recipient-name {
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.address-text {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 15px;
    min-height: 60px;
}

.phone-number {
    color: #555;
    font-size: 0.9rem;
}

.card-actions {
    border-top: 1px solid #eee;
    display: flex;
}

.btn-action {
    flex: 1;
    text-align: center;
    padding: 12px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: 0.2s;
    font-weight: 500;
}

.btn-action.edit {
    background: #f9f9f9;
    color: #2e7d32;
    border-right: 1px solid #eee;
}

.btn-action.edit:hover {
    background: #e8f5e9;
}

.btn-action.delete {
    background: #f9f9f9;
    color: #c62828;
}

.btn-action.delete:hover {
    background: #ffebee;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 50px 30px;
    background: linear-gradient(135deg, #fff 0%, #fcfcfc 100%);
    border: 1px dashed #e0e0e0;
    border-radius: 16px;
    color: #777;
    margin-top: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease;
}

.empty-state:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.empty-state i {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--accent);
    background: #fff8e1;
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 4px 10px rgba(243, 156, 18, 0.2);
    animation: floatIcon 3s ease-in-out infinite;
}

.empty-state h4 {
    color: var(--primary);
    margin-bottom: 8px;
    font-weight: 600;
}

.empty-state p {
    font-size: 0.95rem;
    color: #888;
    max-width: 400px;
    margin: 0 auto 15px auto;
}

@keyframes floatIcon {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Form Styles */
.form-control,
.form-select {
    padding: 0.75rem 1rem;
    border-color: #eee;
    border-radius: 8px;
    width: 100%;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.05);
    outline: none;
}

.form-label {
    font-weight: 500;
    color: #555;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.5rem;
}