/* Main Container */
.bicc-container {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    background-color: #fff;
}

/* Form Styles */
.bicc-form {
    margin-bottom: 20px;
}

.bicc-form h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.bicc-input-group {
    display: flex;
    gap: 10px;
}

.bicc-input-group input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.bicc-input-group input:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.bicc-input-group button {
    padding: 12px 20px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.3s;
}

.bicc-input-group button:hover {
    background-color: #2980b9;
}

/* Error Message */
.bicc-error {
    color: #e74c3c;
    margin-top: 10px;
    padding: 10px;
    border-radius: 4px;
    background-color: #fdecea;
    display: none;
}

/* Result Styles */
.bicc-result {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 20px;
    animation: fadeIn 0.5s;
}

.bicc-result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.bicc-result-header h4 {
    margin: 0;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 10px;
}

.bicc-result-header button {
    background: none;
    border: none;
    color: #7f8c8d;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s;
}

.bicc-result-header button:hover {
    color: #e74c3c;
}

.bicc-result-content {
    padding: 20px;
}

.bicc-result-row {
    display: flex;
    margin-bottom: 12px;
    line-height: 1.5;
}

.bicc-label {
    font-weight: 600;
    color: #34495e;
    min-width: 120px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.bicc-value {
    flex: 1;
    color: #2c3e50;
}

/* Loading Animation */
.bicc-loading {
    display: none;
    text-align: center;
    padding: 20px;
}

.bicc-loading i {
    font-size: 24px;
    color: #3498db;
    animation: spin 1s linear infinite;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 480px) {
    .bicc-input-group {
        flex-direction: column;
    }
    
    .bicc-result-row {
        flex-direction: column;
        gap: 5px;
    }
    
    .bicc-label {
        min-width: auto;
    }
}