/* ============================================
   MIDE DREADLOCS - BOOKING SYSTEM
   Colors: Black & White only
   ============================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    background: #f5f5f5;
    color: #111;
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 680px;
    margin: 0 auto;
    padding: 30px 20px 60px;
}

/* Header */
header {
    text-align: center;
    padding: 40px 0 30px;
}

header h1 {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

header h1 span {
    font-weight: 300;
}

header p {
    color: #666;
    margin-top: 6px;
    font-size: 0.95rem;
}

/* Progress */
.progress {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.progress-step {
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 500;
    background: #e5e5e5;
    color: #999;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.progress-step.active {
    background: #000;
    color: #fff;
    border-color: #000;
}

.progress-step.done {
    background: #000;
    color: #fff;
    border-color: #000;
    opacity: 0.6;
}

/* Steps */
.step {
    display: none;
    background: #fff;
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    animation: fadeUp 0.3s ease;
}

.step.active { display: block; }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.step h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

/* Services */
.services {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
}

.service input { display: none; }

.service-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.service-box:hover {
    border-color: #bbb;
    background: #fafafa;
}

.service input:checked + .service-box {
    border-color: #000;
    background: #000;
    color: #fff;
}

.service input:checked + .service-box .service-icon {
    background: #fff;
    color: #000;
}

.service input:checked + .service-box small {
    color: #bbb;
}

.service-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.service-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #333;
    flex-shrink: 0;
    transition: all 0.2s;
}

.service-left strong {
    font-size: 0.92rem;
    display: block;
}

.service-left small {
    font-size: 0.8rem;
    color: #888;
    transition: color 0.2s;
}

.price {
    font-weight: 700;
    font-size: 0.9rem;
    white-space: nowrap;
}

.price.tag {
    font-weight: 500;
    font-size: 0.8rem;
    padding: 4px 12px;
    background: #f0f0f0;
    border-radius: 50px;
}

.service input:checked + .service-box .price.tag {
    background: #333;
    color: #fff;
}

/* Form Fields */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 30px;
}

.field.full { grid-column: 1 / -1; }

.field label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
}

.field input,
.field textarea,
.field select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.92rem;
    transition: border-color 0.2s;
    outline: none;
    background: #fafafa;
}

.field input:focus,
.field textarea:focus {
    border-color: #000;
    background: #fff;
}

.field textarea {
    resize: vertical;
    min-height: 70px;
}

/* Time Slots */
.slots-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
    margin: 20px 0 10px;
}

.slots-label small {
    font-weight: 400;
    color: #999;
}

.time-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 30px;
}

.slot {
    padding: 14px 8px;
    text-align: center;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    background: #fff;
}

.slot span {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
}

.slot small {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #cc0000;
    margin-top: 3px;
}

.slot:hover:not(.booked) {
    border-color: #000;
    background: #f5f5f5;
}

.slot.selected {
    background: #000;
    color: #fff;
    border-color: #000;
}

.slot.booked {
    border-color: #fdd;
    background: #fff5f5;
    color: #ccc;
    cursor: not-allowed;
    text-decoration: line-through;
}

.slots-note {
    grid-column: 1 / -1;
    text-align: center;
    padding: 30px;
    color: #999;
    font-size: 0.9rem;
}

.slots-note.closed { color: #cc0000; }

/* Summary */
.summary {
    background: #f8f8f8;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
}

.sum-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-size: 0.9rem;
}

.sum-row:last-child { border-bottom: none; }

.sum-row span { color: #888; }
.sum-row strong { color: #111; }

.sum-row.total {
    border-top: 2px solid #000;
    border-bottom: none;
    padding-top: 14px;
    margin-top: 6px;
    font-size: 1rem;
}

.sum-row.total strong {
    font-size: 1.15rem;
}

/* Payment Box */
.payment-box {
    background: #111;
    color: #fff;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
}

.payment-box h3 {
    font-size: 1rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.payment-box h3 i { color: #fff; }

.payment-box > p {
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 18px;
}

.bank-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.bank-grid > div:first-child { grid-column: 1 / -1; }

.bank-grid small {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #777;
    margin-bottom: 4px;
}

.bank-val {
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.bank-val button {
    background: #333;
    border: none;
    color: #fff;
    padding: 4px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.75rem;
    transition: background 0.2s;
}

.bank-val button:hover { background: #555; }

/* File Drop */
.file-drop {
    border: 2px dashed #ccc;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.file-drop input { display: none; }

.file-drop i {
    font-size: 1.5rem;
    color: #999;
    display: block;
    margin-bottom: 8px;
}

.file-drop span {
    font-size: 0.85rem;
    color: #999;
}

.file-drop:hover,
.file-drop.hover {
    border-color: #000;
    background: #fafafa;
}

.file-drop.has-file {
    border-style: solid;
    border-color: #000;
}

.file-drop.has-file span {
    color: #000;
    font-weight: 600;
}

/* Checkbox */
.check-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #333;
    cursor: pointer;
    margin-bottom: 25px;
}

.check-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #000;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border: 2px solid #000;
    background: #000;
    color: #fff;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
}

.btn:hover {
    background: #222;
    transform: translateY(-1px);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.btn.back {
    background: #fff;
    color: #000;
}

.btn.back:hover { background: #f5f5f5; }

.btn.wa {
    background: #25d366;
    border-color: #25d366;
}

.btn.wa:hover { background: #1da851; }

.btn.confirm {
    background: #000;
}

.btn-row {
    display: flex;
    gap: 12px;
}

.btn-row .btn { flex: 1; }

/* Success */
.success-box {
    text-align: center;
    padding: 20px 0;
}

.success-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #000;
    color: #fff;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.success-box h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    border: none;
    padding: 0;
}

.success-box p {
    color: #666;
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.success-box .btn { margin-bottom: 10px; }

/* Toast */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #000;
    color: #fff;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 500;
    z-index: 9999;
    transition: transform 0.3s;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    white-space: nowrap;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 0 0;
    font-size: 0.82rem;
    color: #999;
}

footer i { margin: 0 2px; }

/* Responsive */
@media (max-width: 600px) {
    .container { padding: 20px 16px 40px; }

    .step { padding: 25px 20px; }

    .form-grid { grid-template-columns: 1fr; }

    .time-grid { grid-template-columns: repeat(2, 1fr); }

    .progress { gap: 5px; }

    .progress-step {
        font-size: 0.7rem;
        padding: 6px 10px;
    }

    .service-box { padding: 14px 16px; }

    .service-icon { width: 36px; height: 36px; font-size: 0.85rem; }

    .service-left strong { font-size: 0.85rem; }

    .btn-row { flex-direction: column; }
}