:root {
    --primary-color: #4a90e2;
    --secondary-color: #f8f9fa;
    --success-color: #28a745;
    --danger-color: #dc3545;
}

body {
    background-color: #FFF;
    color: #2c3e50;
}

.container {
    max-width: 100%;
    padding: 1rem;
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

.progress {
    height: 4px;
    margin-bottom: 2rem;
    background-color: #e9ecef;
}

.progress-bar {
    transition: width 0.3s ease;
    background-color: var(--primary-color);
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: all 0.3s ease;
}

.step-circle.active {
    background-color: var(--primary-color);
    color: white;
}

.step-circle.inactive {
    background-color: #e9ecef;
    color: #6c757d;
}

.step-label {
    font-size: 0.875rem;
    margin-top: 0.5rem;
    color: #6c757d;
}

.card {
    border: none;
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
    margin-top: 2rem;
}

.card-header {
    background-color: white;
    border-bottom: 1px solid #e9ecef;
    padding: 1.25rem;
    border-radius: 1rem 1rem 0 0 !important;
}

.btn {
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #357abd;
    border-color: #357abd;
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
}

.table {
    background-color: white;
    border-radius: 0.5rem;
    overflow: hidden;
}

.table th {
    background-color: #f8f9fa;
    border-bottom: 2px solid #e9ecef;
    font-weight: 600;
}

.availability-btn {
    width: 100%;
    padding: 0.5rem;
    border-radius: 0.25rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.availability-btn.available {
    background-color: var(--success-color);
    border-color: var(--success-color);
    color: white;
}

.availability-btn.unavailable {
    background-color: var(--danger-color);
    border-color: var(--danger-color);
    color: white;
    opacity: 0.65;
}

.form-control {
    border-radius: 0.5rem;
    border: 1px solid #e9ecef;
    padding: 0.75rem 1rem;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(74, 144, 226, 0.25);
}

.alert {
    border-radius: 0.5rem;
    border: none;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
}

/* モバイル対応のスタイル */
@media (max-width: 768px) {
    .table {
        font-size: 0.75rem;
    }

    .availability-btn {
        padding: 0.2rem;
        min-width: 25px;
        min-height: 25px;
    }

    .step-circle {
        width: 30px;
        height: 30px;
        font-size: 0.75rem;
    }

    .step-label {
        font-size: 0.65rem;
    }

    .container {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}

@media (max-width: 576px) {
    .availability-btn {
        padding: 0.15rem;
        min-width: 20px;
        min-height: 20px;
    }
    .table th div {
        white-space: normal;
    }
}