/* ===========================================
   Islamic Date Converter - Tool Specific Styles (Deep Blue/Gold Theme)
   =========================================== */

/* Tool Layout */
.idc-box {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* --- Current Date Display --- */
.idc-current-date-box {
    background: #e0f2f7; /* Light Blue BG */
    border: 2px solid #06b6d4; /* Cyan/Blue border */
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.idc-current-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0c4a6e; /* Deep Blue */
    margin-bottom: 15px;
    padding-bottom: 10px;
}

.idc-gregorian-value, .idc-hijri-value {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.1;
}
.idc-gregorian-value {
    color: #0ea5e9; /* Primary Blue */
}
.idc-hijri-value {
    color: #f59e0b; /* Deep Gold */
}

/* --- Conversion Tabs --- */
.idc-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 0;
}

.idc-tab-button {
    flex-grow: 1;
    max-width: 350px;
    padding: 15px 20px;
    border: 1px solid #06b6d4;
    border-bottom: none;
    background: #f8fafc;
    color: #0c4a6e;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
}

.idc-tab-button:first-child {
    border-radius: 8px 0 0 0;
}

.idc-tab-button:last-child {
    border-radius: 0 8px 0 0;
}

.idc-tab-button.active {
    background: #0ea5e9; /* Active Blue */
    color: white;
    border-color: #0ea5e9;
}

/* --- Conversion Box Content --- */
.idc-conversion-box {
    background: #f8fafc; 
    border: 1px solid #06b6d4;
    border-top: none;
    border-radius: 0 0 12px 12px;
    padding: 30px;
}

.idc-input-section {
    padding: 15px;
    border: 1px dashed #bae6fd;
    border-radius: 8px;
    margin-bottom: 25px;
}

.idc-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #0891b2;
    margin-bottom: 6px;
    display: block;
    text-align: left;
}

.idc-input {
    padding: 10px;
    border: 1px solid #06b6d4; 
    border-radius: 6px;
    font-size: 1.1rem;
    color: #1f2937;
    width: 100%;
    margin-bottom: 10px;
}

.idc-hijri-controls {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}
.idc-hijri-controls .idc-input {
    width: calc(33.33% - 7px);
}


/* --- Result Styling --- */
.idc-converted-label {
    font-size: 1rem;
    color: #0c4a6e;
    font-weight: 600;
    margin-top: 15px;
}

.idc-converted-value {
    font-size: 2rem;
    font-weight: 800;
    color: #f59e0b;
    margin-top: 5px;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .idc-tabs {
        flex-direction: column;
    }
    .idc-tab-button {
        max-width: 100%;
        border-radius: 0 !important;
        border-bottom: 1px solid #06b6d4;
    }
    .idc-tab-button.active {
        border-bottom: none;
    }
    .idc-hijri-controls {
        flex-wrap: wrap;
    }
    .idc-hijri-controls .idc-input {
        width: 100%;
        margin-bottom: 0;
    }
}