* {
    box-sizing: border-box;
    font-family: Arial, Tahoma, sans-serif;
}

body {
    margin: 0;
    background: #f4f6f9;
    color: #222;
}

.container {
    width: 90%;
    max-width: 700px;
    margin: 50px auto;
    background: #fff;
    padding: 30px;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.container.wide {
    max-width: 950px;
}

h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #1f2937;
}

.form-box {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

label {
    font-weight: bold;
    color: #374151;
}

input,
textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font-size: 16px;
    outline: none;
}

input:focus,
textarea:focus {
    border-color: #2563eb;
}

/* Normal submit buttons only */
.form-box button,
.link-btn {
    display: inline-block;
    text-decoration: none;
    background: #2563eb;
    color: white;
    padding: 14px 22px;
    border-radius: 10px;
    border: none;
    font-size: 16px;
    cursor: pointer;
    text-align: center;
    margin-top: 15px;
}

.form-box button:hover,
.link-btn:hover {
    background: #1d4ed8;
}

.days-list {
    display: grid;
    gap: 15px;
}

.day-card {
    display: block;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    padding: 20px;
    border-radius: 14px;
    text-decoration: none;
    color: #111827;
    transition: 0.2s;
}

.day-card:hover {
    background: #eff6ff;
    border-color: #2563eb;
}

.day-card span {
    display: block;
    color: #6b7280;
    margin-bottom: 5px;
}

.day-card strong {
    font-size: 22px;
}

.records {
    display: grid;
    gap: 20px;
}

.record-card {
    background: #f9fafb;
    padding: 20px;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
}

.record-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 15px;
    padding-bottom: 10px;
}

.record-header h2 {
    margin: 0;
    color: #111827;
}

.record-header span {
    color: #6b7280;
    font-size: 14px;
}

pre {
    background: #111827;
    color: #e5e7eb;
    padding: 15px;
    border-radius: 10px;
    white-space: pre-wrap;
    direction: ltr;
    text-align: left;
}

.buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Status section */
.status-area {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #e5e7eb;
}

.status-text {
    font-weight: bold;
    color: #374151;
}

.status-btn {
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    margin-right: 10px;
    cursor: pointer;
    font-size: 15px;
    background: #e5e7eb;
    color: #111827;
    transition: 0.2s;
}

.status-btn:hover {
    opacity: 0.85;
}

/* In Review active */
.status-btn.inreview-btn.active-green {
    background: #16a34a;
    color: #ffffff;
}

/* Rejected active */
.status-btn.rejected-btn.active-red {
    background: #dc2626;
    color: #ffffff;
}

.status-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border: none;
    border-radius: 999px;
    margin-right: 10px;
    cursor: pointer;
    font-size: 15px;
    font-weight: bold;
    background: #e5e7eb;
    color: #111827;
    transition: 0.25s ease;
}

.status-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.status-btn .btn-icon {
    font-size: 18px;
}

.status-btn.inreview-btn.active-green {
    background: linear-gradient(135deg, #16a34a, #22c55e);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(34, 197, 94, 0.35);
}

.status-btn.rejected-btn.active-red {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.35);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 999px;
    font-weight: bold;
    font-size: 14px;
}

.green-badge {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}

.red-badge {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}