/* Currency Switcher Styles */
.ihcc-currency-switcher {
    margin: 10px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/* Dropdown Style */
.ihcc-currency-select {
    padding: 12px 16px;
    border: 2px solid #e0e7ff;
    border-radius: 12px;
    min-width: 220px;
    background: linear-gradient(135deg, #ffffff 0%, #f8faff 100%);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    color: #333;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="6"><path d="M0 0l6 6 6-6z" fill="%23667eea"/></svg>');
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.1);
}

.ihcc-currency-select:hover {
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
    transform: translateY(-1px);
}

.ihcc-currency-select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2), 0 4px 12px rgba(102, 126, 234, 0.2);
}

/* Buttons Style */
.ihcc-currency-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ihcc-currency-button {
    padding: 12px 20px;
    border: 2px solid #e0e7ff;
    border-radius: 12px;
    background: linear-gradient(135deg, #ffffff 0%, #f8faff 100%);
    color: #333;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 90px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.1);
}

.ihcc-currency-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.5s;
}

.ihcc-currency-button:hover::before {
    left: 100%;
}

.ihcc-currency-button:hover {
    background: linear-gradient(135deg, #f8faff 0%, #e0e7ff 100%);
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.25);
}

.ihcc-currency-button.ihcc-currency-active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-color: #667eea;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    transform: translateY(-2px);
}

/* Alignment */
.ihcc-align-left {
    text-align: left;
}

.ihcc-align-center {
    text-align: center;
    justify-content: center;
}

.ihcc-align-right {
    text-align: right;
    justify-content: flex-end;
}

/* Currency Flags */
.ihcc-currency-flag {
    display: inline-block;
    width: 20px;
    height: 15px;
    margin-right: 8px;
    vertical-align: middle;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Disabled State */
.ihcc-currency-button:disabled,
.ihcc-currency-select:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    background-color: #f7f7f7;
}

/* Loading Animation */
.ihcc-loading {
    display: inline-block;
    margin-right: 8px;
    animation: ihcc-spin 1s linear infinite;
    filter: drop-shadow(0 2px 4px rgba(102, 126, 234, 0.3));
}

@keyframes ihcc-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes ihcc-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* Mobile Responsive */
@media screen and (max-width: 480px) {
    .ihcc-currency-select {
        width: 100%;
        min-width: auto;
    }
    
    .ihcc-currency-buttons {
        justify-content: center;
    }
    
    .ihcc-currency-button {
        min-width: 70px;
        padding: 6px 12px;
    }
} 