/* ===========================================
Workdays Calculator - Tool Specific Styles
=========================================== */

/* Tool Layout */
.wdc-box {
 max-width: 800px;
 margin: 0 auto;
}

/* Controls and Inputs */
.wdc-controls {
 display: flex;
 gap: 25px;
 background: #f0faff; /* Very Light Blue-Gray BG */
 padding: 30px;
 border-radius: 12px;
 border: 1px solid #bfdbfe;
 margin-bottom: 30px;
 flex-wrap: wrap;
 align-items: flex-start;
}

.wdc-input-column {
 flex: 1 1 45%; /* Allows two columns on wider screens */
 padding: 15px;
 border-radius: 8px;
 background: #ffffff;
 border: 1px solid #dbeafe;
}

.wdc-column-title {
 font-size: 1.1rem;
 font-weight: 700;
 color: #1e40af; /* Dark Blue Title */
 margin-bottom: 15px;
 border-bottom: 2px solid #eff6ff;
 padding-bottom: 8px;
}

/* Date Inputs */
.date-inputs .wdc-input-group {
 margin-bottom: 15px;
}

.wdc-label {
 font-size: 0.9rem;
 font-weight: 600;
 color: #1c51b9; /* Medium Blue Label */
 margin-bottom: 6px;
}

.wdc-input {
 padding: 10px;
 border: 1px solid #93c5fd; /* Light Blue Border */
 border-radius: 6px;
 font-size: 1.1rem;
 color: #1f2937;
 width: 100%;
 height: 40px;
}

/* Holiday Inputs (Textarea) */
.holiday-inputs {
 display: flex;
 flex-direction: column;
}
.wdc-textarea {
 width: 100%;
 padding: 10px;
 border: 1px solid #93c5fd;
 border-radius: 6px;
 font-family: monospace;
 font-size: 0.95rem;
 resize: vertical;
}
.wdc-holiday-help {
 font-size: 0.85rem;
 color: #6b7280;
 margin-bottom: 10px;
}
.wdc-btn-clear {
 align-self: flex-start;
 padding: 5px 10px;
 font-size: 0.8rem;
 background: #f3f4f6;
 color: #4b5563;
 border: 1px solid #d1d5db;
 border-radius: 4px;
 cursor: pointer;
 margin-top: 10px;
 transition: background 0.2s;
}
.wdc-btn-clear:hover {
 background: #e5e7eb;
}

/* Calculate Button */
.wdc-btn-calc {
 width: 100%;
 padding: 12px 20px;
 font-size: 1.1rem;
 font-weight: 700;
 border: none;
 border-radius: 8px;
 cursor: pointer;
 background: #ef4444; /* Primary Red Button (Action/Warning) */
 color: white;
 transition: background 0.2s;
 margin-top: 20px; /* Separates it visually from other inputs */
}
.wdc-btn-calc:hover {
 background: #dc2626;
}

/* --- Results Section --- */

.wdc-results-section {
 margin-top: 30px;
 text-align: center;
}

.wdc-result-box {
 background: #ffffff;
 padding: 30px;
 border-radius: 10px;
 box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.wdc-card-title {
 font-size: 1.1rem;
 text-transform: uppercase;
 color: #1e40af;
 margin-bottom: 10px;
 font-weight: 700;
}

/* Main Workdays Display */
.wdc-value-main {
 font-size: 4rem;
 font-weight: 800;
 color: #ef4444; /* Red color for main value */
 line-height: 1;
 margin-bottom: 25px;
}

/* Breakdown Display */
.wdc-breakdown {
 display: flex;
 justify-content: center;
 gap: 25px;
 flex-wrap: wrap;
 padding-top: 20px;
 border-top: 1px dashed #dbeafe;
}

.wdc-breakdown-item {
 text-align: center;
 flex: 1;
 min-width: 150px;
}

.wdc-breakdown-number {
 font-size: 2rem;
 font-weight: 700;
 color: #1f2937;
 line-height: 1.2;
}
.wdc-breakdown-unit {
 font-size: 0.9rem;
 color: #6b7280;
 text-transform: uppercase;
 margin-top: 5px;
}

/* Responsive Styling */
@media (max-width: 768px) {
 .wdc-controls {
  flex-direction: column;
  gap: 15px;
 }
 .wdc-input-column {
  flex-basis: 100%;
 }
 .wdc-breakdown {
  gap: 15px;
 }
 .wdc-value-main {
  font-size: 3.5rem;
 }
}