.address-tabs { list-style: none; padding: 0; margin: 20px 0; border-bottom: 1px solid #ddd; }
.address-tabs li { display: inline-block; margin-right: 10px; }
.address-tabs a { padding: 10px 15px; background: #f9f9f9; text-decoration: none; border: 1px solid #ddd; border-bottom: none; color: #333; }
.address-tabs a:hover, .address-tabs .active a { background: #fff; border-color: #ccc; }
.address-item { border: 1px solid #ddd; padding: 15px; margin-bottom: 10px; border-radius: 4px; }
.address-item h4 { margin-top: 0; }
.billing-field { display: none; }
#billing-section .billing-field, .edit-form.billing .billing-field { display: block; }
.add-address-section { margin-bottom: 20px; padding: 15px; background: #f9f9f9; border-radius: 4px; }
.add-address-section form p { 
    display: flex; 
    align-items: flex-start; 
    margin-bottom: 12px; 
}
.add-address-section form label { 
    width: 180px; 
    flex-shrink: 0; 
    font-weight: bold; 
    margin-right: 10px; 
    margin-top: 8px; 
}
.add-address-section form input, 
.add-address-section form select { 
    flex: 1; 
    width: auto; 
    padding: 8px; 
    border: 1px solid #ddd; 
    border-radius: 3px; 
}
.add-address-section form button { 
    width: 100%; 
    padding: 12px; 
    background: #ffd700; 
    color: #333; 
    border: none; 
    border-radius: 3px; 
    font-weight: bold; 
    cursor: pointer; 
}
.add-address-section form button:hover { 
    background: #ffc107; 
}
/* Edit-Form Styling (analog zum Add-Form) */
.edit-address-form { 
    padding: 15px; 
    background: #f9f9f9; 
    border-radius: 4px; 
}
.edit-address-form p { 
    display: flex; 
    align-items: flex-start; 
    margin-bottom: 12px; 
}
.edit-address-form label { 
    width: 180px; 
    flex-shrink: 0; 
    font-weight: bold; 
    margin-right: 10px; 
    margin-top: 8px; 
}
.edit-address-form input, 
.edit-address-form select { 
    flex: 1; 
    width: auto; 
    padding: 8px; 
    border: 1px solid #ddd; 
    border-radius: 3px; 
}
.edit-address-form button[type="submit"] { 
    width: auto; 
    padding: 10px 20px; 
    background: #ffd700; 
    color: #333; 
    border: none; 
    border-radius: 3px; 
    font-weight: bold; 
    cursor: pointer; 
    margin-right: 10px; 
}
.edit-address-form button[type="submit"]:hover { 
    background: #ffc107; 
}
.edit-address-form .cancel-edit { 
    width: auto; 
    padding: 10px 20px; 
    background: #ccc; 
    color: #333; 
    border: none; 
    border-radius: 3px; 
    font-weight: bold; 
    cursor: pointer; 
}
.edit-address-form .cancel-edit:hover { 
    background: #bbb; 
}
@media (max-width: 768px) {
    .add-address-section form p, .edit-address-form p { flex-direction: column; align-items: flex-start; }
    .add-address-section form label, .edit-address-form label { width: 100%; margin-right: 0; margin-bottom: 5px; }
}
.add-address-section form input[disabled], .edit-address-form input[disabled] {
    background-color: #f9f9f9;
    color: #666;
    cursor: not-allowed;
}
.email-static-display {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}
.email-static-display label {
    width: 180px;
    flex-shrink: 0;
    font-weight: bold;
    margin-right: 10px;
}
.email-display {
    flex: 1;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 3px;
    background-color: #f9f9f9;
    color: #333;
    font-family: monospace;
    display: inline-block;
    min-width: 200px;
}
.email-tooltip {
    margin-left: 10px;
    cursor: help;
    color: #666;
    font-size: 16px;
}
.multiple-addresses-email {
    background-color: #f9f9f9 !important;
    color: #666 !important;
    cursor: not-allowed !important;
}