/* ok i made the colors all light and happy. like a sunny day. boring. */
.dac-wrapper {
    background: #f7f9fc; /* so bright */
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #e2e8f0;
    color: #4a5568;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    max-width: 700px;
    margin: 2rem auto;
}
.dac-header { text-align: center; margin-bottom: 2rem; }
.dac-header h2 { margin: 0; font-size: 2.2rem; color: #2d3748; }
.dac-header i { color: #4299e1; } /* blue! */
.dac-header p { opacity: 0.8; }

/*
 * OKAY LISTEN UP THIS IS THE IMPORTANT PART FOR THE BOXES
 * I made the month box fatter than the other boxes. So it can breathe.
 */
.dac-input-grid {
    display: grid;
    /* Year, MONTH (bigger), Day, Hour, Minute */
    grid-template-columns: 1.5fr 2fr 1fr 1fr 1fr; 
    gap: 1rem;
    margin-bottom: 2rem;
}

.dac-select-wrapper { position: relative; }
.dac-select-wrapper::after {
    content: '\f078'; font-family: 'Font Awesome 5 Free'; font-weight: 900;
    position: absolute; right: 15px; top: 50%;
    transform: translateY(-50%); pointer-events: none;
    color: #a0aec0;
}
.dac-input-grid select {
    width: 100%; padding: 15px;
    border-radius: 8px;
    border: 1px solid #cbd5e0;
    font-size: 1rem;
    box-sizing: border-box;
    -webkit-appearance: none; -moz-appearance: none; appearance: none;
    background-color: #fff; color: #2d3748;
    cursor: pointer;
}

#dac-calculate-btn {
    display: block; width: 100%; padding: 1rem; font-size: 1.2rem; font-weight: bold;
    color: #fff;
    background-color: #4299e1; /* more blue */
    border: none; border-radius: 8px; cursor: pointer; transition: all 0.3s ease;
}
#dac-calculate-btn:hover { background-color: #3182ce; box-shadow: 0 4px 14px 0 rgba(0, 118, 255, 0.39); }

#dac-results-container {
    text-align: center; margin-top: 2rem; background: #e2e8f0;
    padding: 1.5rem; border-radius: 8px;
}
#dac-results {
    font-size: 1.2rem;
    font-weight: 500;
}
#dac-results span {
    display: inline-block; background: #fff; color: #2d3748; padding: 5px 12px;
    border-radius: 6px; font-weight: bold; font-size: 1.5rem;
    min-width: 45px; text-align: center; margin: 0 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* OKAY PHONES, LISTEN UP */
@media (max-width: 680px) {
    .dac-wrapper { padding: 1.5rem; }
    /* now they're smart and wrap themselves. like little presents. */
    .dac-input-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
}
@media (max-width: 480px) {
    #dac-results span { font-size: 1.1rem; padding: 4px 8px; }
    .dac-header h2 { font-size: 1.8rem; }
}