/* ---------------------------------------------------------
   Global
--------------------------------------------------------- */

body {
    background: #F5F6FA;                /* Light page background */
    color: #111827;                     /* Dark gray primary text */
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
}

.page-container {
    max-width: 900px;
    margin: auto;
}

.title {
    text-align: center;
    margin-bottom: 30px;
    color: #111827;
}

/* ---------------------------------------------------------
   Card blocks
--------------------------------------------------------- */

.card {
    background: #FFFFFF;                /* White panels */
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid #E5E7EB;          /* Light gray border */
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.card-title {
    margin-top: 0;
    font-size: 18px;
    margin-bottom: 10px;
    color: #111827;
}

.two-column {
    display: flex;
    gap: 20px;
}

.two-column .card {
    flex: 1;
}

/* ---------------------------------------------------------
   Inputs
--------------------------------------------------------- */

.input-select {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    background: #FFFFFF;
    color: #111827;
    border: 1px solid #E5E7EB;
    border-radius: 6px;
}

.small-input,
.small-select {
    padding: 5px;
    font-size: 13px;
    background: #FFFFFF;
    color: #111827;
    border: 1px solid #E5E7EB;
    border-radius: 4px;
}

.small-input {
    width: 70px;
}

.small-select {
    padding: 5px 8px;
}

/* ---------------------------------------------------------
   Buttons
--------------------------------------------------------- */

.primary-button {
    padding: 8px 14px;
    font-size: 14px;
    background: #0A0D1C;                /* Dark navy (matches screenshot button) */
    color: #FFFFFF;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.primary-button:hover {
    background: #1E1F2A;
}

/* ---------------------------------------------------------
   Hit grid
--------------------------------------------------------- */

.hit-grid {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 14px;
    color: #374151;
}

.grid-title {
    font-size: 13px;
    color: #6B7280;   /* Secondary gray */
}

.hit-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hit-label {
    width: 60px;
    color: #6B7280;
}

.hit-cell {
    width: 28px;
    height: 28px;
    border-radius: 4px;
    border: 1px solid #D1D5DB;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: #FFFFFF;
    transition: background 0.15s ease, border 0.15s ease;
}

.hit-cell:hover {
    background: #E5E7EB;
    border-color: #9CA3AF;
}

/* ---------------------------------------------------------
   Info rows
--------------------------------------------------------- */

.info-row {
    margin-top: 8px;
    font-size: 14px;
    color: #374151;
}

/* ---------------------------------------------------------
   Special: Blue "Required Time" panel (future use)
--------------------------------------------------------- */

.blue-panel {
    background: #0057FF;        /* Blue from screenshot */
    color: #FFFFFF;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

/* ---------------------------------------------------------
   FINAL COLOR OVERRIDES FOR COLORED PANELS
   (must be at end of file)
--------------------------------------------------------- */

.card.goal-panel {
    background: #0057FF !important;
    color: #FFFFFF !important;
    border: none !important;
}

.card.goal-panel .info-row,
.card.goal-panel .grid-title,
.card.goal-panel .hit-label {
    color: #FFFFFF !important;
}

.card.attempt-panel {
    background: #74a2ff !important;
    color: #FFFFFF !important;
    border: none !important;
}

.card.attempt-panel .info-row,
.card.attempt-panel .grid-title,
.card.attempt-panel .hit-label {
    color: #FFFFFF !important;
}

.card.goal-panel .card-title {
    color: #2c2c2c !important; /* Gold */
}

.card.attempt-panel .card-title {
    color: #5f5f5f !important; /* White */
}
