* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(180deg, #f6f7f9, #ffffff);
    min-height: 100vh;
    color: #1a1a1a;
    line-height: 1.5;
}

.page-content {
    max-width: 100%;
    padding: 24px 16px;
    margin: 0 auto;
}

h1 {
    color: #1a1a1a;
    line-height: 1.3;
    font-size: 22px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 28px;
    letter-spacing: -0.02em;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #1a1a1a;
    font-size: 15px;
}

.form-group input[type="date"],
.form-group input[type="text"],
.form-group input[type="tel"] {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    font-size: 16px;
    background: #ffffff;
    color: #1a1a1a;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: inherit;
}

.form-group input[type="date"]:focus,
.form-group input[type="text"]:focus,
.form-group input[type="tel"]:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.form-group input[type="date"]:hover,
.form-group input[type="text"]:hover,
.form-group input[type="tel"]:hover {
    border-color: #d0d0d0;
}

.time-slots {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.time-slot {
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
    text-align: center;
    color: #1a1a1a;
    min-width: 70px;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 14px;
    background: #f1f3f5;
    border: none;
}

.time-slot:hover:not(.disabled) {
    background: #111827;
    color: #ffffff;
}

.time-slot.selected {
    background: #111827;
    color: #ffffff;
    box-shadow: 0 6px 14px rgba(17, 24, 39, 0.25);
}

.time-slot.disabled {
    background: #f8f9fa;
    color: #999999;
    cursor: not-allowed;
    opacity: 0.5;
}

.service-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#serviceName {
    font-size: 16px;
    font-weight: 500;
}

#servicePrice {
    font-size: 18px;
    font-weight: 500;
}

#address {
    font-weight: 500;
    color: #666666;
    font-size: 14px;
}

.address-info {
    padding: 12px 16px;
    margin-top: 8px;
    background: #f1f3f5;
    border-radius: 10px;
    font-size: 14px;
    color: #444;
}

.address-info p {
    font-size: 14px;
    color: #666666;
    margin: 0;
}

#submitBtn {
    width: 100%;
    padding: 14px 24px;
    color: #ffffff;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
    margin-top: 24px;
    font-family: inherit;
    background: linear-gradient(135deg, #111827, #1f2937);
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(17, 24, 39, 0.35);
}

#submitBtn:hover {
    background: linear-gradient(135deg, #000000, #1f2937);
}

#submitBtn:active {
    transform: scale(0.98);
}

#submitBtn:disabled {
    background: #cccccc;
    cursor: not-allowed;
    transform: none;
}

#status {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    font-size: 14px;
}

#status.success {
    background: #d4edda;
    color: #155724;
}

#status.error {
    background: #f8d7da;
    color: #721c24;
}

.form-group input {
    background: #fafafa;
    border: 1px solid #e0e0e0;
}

.form-group input:focus {
    background: #ffffff;
}

.service-card {
    background: #111827;
    border-radius: 12px;
    padding: 16px;
}

.service-card * {
    color: #ffffff;
}

.service-label {
    font-size: 12px;
    opacity: 0.6;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.time-placeholder {
    width: 100%;
    padding: 12px 16px;
    background: #f1f3f5;
    border-radius: 10px;
    font-size: 14px;
    color: #666666;
}

@media (min-width: 640px) {
    .page-content {
        max-width: 600px;
        padding: 32px 24px;
    }

    h1 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .page-content {
        padding: 20px 16px;
    }

    h1 {
        font-size: 22px;
        margin-bottom: 24px;
    }

    .time-slot {
        padding: 8px 12px;
        font-size: 14px;
        min-width: 60px;
    }
}