/* Currency Converter Calculator Styles */
.cc-calculator {
    max-width: 500px;
    margin: 0 auto;
    padding: 0;
}

.cc-container {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.4);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.cc-title {
    color: #ffffff;
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 8px 0;
    letter-spacing: -0.5px;
}

.cc-subtitle {
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    font-size: 14px;
    margin: 0 0 30px 0;
    font-weight: 500;
    opacity: 0.9;
}

.cc-group {
    margin-bottom: 24px;
}

.cc-label {
    display: block;
    color: rgba(255, 255, 255, 0.95);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cc-input-wrapper {
    display: flex;
    gap: 10px;
    align-items: flex-end;
}

.cc-input {
    flex: 1;
    padding: 14px 16px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.95);
    color: #1a1a1a;
    font-weight: 500;
    outline: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cc-input:focus {
    background: #ffffff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.cc-input::placeholder {
    color: #999999;
}

.cc-select {
    flex: 0 0 140px;
    padding: 14px 14px;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.95);
    color: #1a1a1a;
    font-weight: 600;
    outline: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cc-select:focus {
    background: #ffffff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.cc-select option {
    background: #ffffff;
    color: #1a1a1a;
    padding: 10px;
    font-weight: 500;
}

.cc-swap-button {
    flex: 0 0 50px;
    height: 50px;
    border: none;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.cc-swap-button:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
}

.cc-swap-button:active {
    transform: scale(0.95);
}

.cc-equals {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 28px;
    margin: 20px 0;
    font-weight: 300;
}

.cc-button-group {
    display: flex;
    gap: 12px;
}

.cc-calculate-btn {
    flex: 1;
    padding: 16px 32px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #ffffff, #f0f0f0);
    color: #667eea;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.cc-calculate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #ffffff, #fafafa);
}

.cc-calculate-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cc-reset-btn {
    padding: 16px 24px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    background: transparent;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cc-reset-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.8);
}

.cc-reset-btn:active {
    transform: scale(0.98);
}

.cc-result {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 20px;
    margin-top: 24px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: none;
}

.cc-result.show {
    display: block;
    animation: slideIn 0.3s ease;
}

.cc-result-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    font-weight: 600;
}

.cc-result-value {
    color: #ffffff;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -1px;
}

.cc-result-code {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    font-weight: 600;
    margin-top: 4px;
}

.cc-rate-info {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 12px;
    margin-top: 16px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.5;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 600px) {
    .cc-container {
        padding: 30px 20px;
        border-radius: 16px;
    }

    .cc-title {
        font-size: 24px;
    }

    .cc-input-wrapper {
        flex-direction: column;
        gap: 12px;
    }

    .cc-input {
        width: 100%;
    }

    .cc-select {
        flex: 1 1 auto;
        width: 100%;
    }

    .cc-swap-button {
        flex: 0 0 auto;
        width: 100%;
        height: 48px;
    }

    .cc-button-group {
        flex-direction: column;
    }

    .cc-calculate-btn {
        width: 100%;
    }

    .cc-reset-btn {
        width: 100%;
    }

    .cc-result-value {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .cc-container {
        padding: 24px 16px;
    }

    .cc-title {
        font-size: 20px;
    }

    .cc-subtitle {
        font-size: 12px;
    }

    .cc-calculate-btn {
        font-size: 14px;
        padding: 14px 20px;
    }
}
