/* 
   Amelo Studio - Localization Styles
   Premium boutique language switcher and toast
*/

.localization-toast {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    width: 90%;
    max-width: 450px;
    background: rgba(255, 252, 248, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(140, 106, 74, 0.2);
    border-radius: 16px;
    padding: 20px 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: bottom 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.localization-toast.show {
    bottom: 30px;
}

.localization-toast-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.localization-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: rgba(140, 106, 74, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8c6a4a;
}

.localization-text {
    flex-grow: 1;
}

.localization-text h4 {
    margin: 0 0 4px 0;
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
}

.localization-text p {
    margin: 0;
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

.localization-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.loc-main-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.btn-loc-more {
    background: transparent;
    border: none;
    color: #8c6a4a;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    opacity: 0.7;
    transition: opacity 0.3s;
    align-self: flex-start;
}

.btn-loc-more:hover {
    opacity: 1;
}

/* Picker Grid Styles */
.localization-picker-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.picker-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 8px;
    background: white;
    border: 1px solid rgba(140, 106, 74, 0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.picker-option:hover {
    background: rgba(140, 106, 74, 0.05);
    border-color: #8c6a4a;
    transform: translateY(-2px);
}

.picker-option .flag {
    font-size: 20px;
}

.picker-option .label {
    font-size: 11px;
    font-weight: 500;
    color: #1a1a1a;
}

.btn-loc-cancel {
    width: 100%;
    padding: 10px;
    background: transparent;
    border: 1px solid #eee;
    border-radius: 8px;
    font-size: 12px;
    color: #999;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-loc-cancel:hover {
    background: #f9f9f9;
    color: #666;
}

.btn-loc-primary {
    background: #8c6a4a;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-loc-primary:hover {
    background: #73573d;
    transform: translateY(-1px);
}

.btn-loc-secondary {
    background: transparent;
    color: #8c6a4a;
    border: 1px solid rgba(140, 106, 74, 0.2);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-loc-secondary:hover {
    background: rgba(140, 106, 74, 0.05);
}

@media (max-width: 480px) {
    .localization-toast {
        width: calc(100% - 40px);
        bottom: -250px; /* More space for picker */
    }
    .localization-toast.show {
        bottom: 20px;
    }
}
