.appointment-page {
    background: #F5CDD3;
    min-height: 100vh;
    padding: 180px 0 80px;
}

.appointment-header {
    text-align: center;
    margin-bottom: 40px;
}

.appointment-header h1 {
    font-family: "Czizh", cursive;
    font-size: 48px;
    color: #AA4E65;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.appointment-header p {
    font-family: "Coolvetica", sans-serif;
    font-size: 18px;
    color: #5B2B37;
}

.appointment-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

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

.form-group label {
    display: block;
    font-family: "Coolvetica", sans-serif;
    font-weight: normal;
    color: #AA4E65;
    margin-bottom: 8px;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.form-group select,
.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #F5CDD3;
    border-radius: 12px;
    font-family: "Coolvetica", sans-serif;
    font-size: 15px;
    transition: all 0.3s;
    background: white;
}

.form-group select:focus,
.form-group input:focus {
    outline: none;
    border-color: #AA4E65;
}

.form-hint {
    font-family: "Coolvetica", sans-serif;
    font-size: 12px;
    color: #7a6a6a;
    margin-top: 5px;
}

.form-hint a {
    color: #AA4E65;
    text-decoration: none;
}

.time-slots {
    margin-top: 10px;
}

.slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 10px;
}

.time-slot {
    background: #F5CDD3;
    border: none;
    padding: 10px;
    border-radius: 12px;
    font-family: "Coolvetica", sans-serif;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    color: #5B2B37;
}

.time-slot:hover {
    background: #AA4E65;
    color: white;
    transform: scale(1.02);
}

.time-slot.selected {
    background: #AA4E65;
    color: white;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background: #AA4E65;
    color: white;
    border: none;
    border-radius: 50px;
    font-family: "Coolvetica", sans-serif;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 20px;
}

.btn-submit:hover {
    background: #8a3e52;
    transform: scale(1.02);
}

.loading {
    text-align: center;
    padding: 20px;
    font-family: "Coolvetica", sans-serif;
    color: #7a6a6a;
}

.success-message {
    background: #d4edda;
    color: #155724;
    padding: 12px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    text-align: center;
    font-family: "Coolvetica", sans-serif;
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 12px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    text-align: center;
    font-family: "Coolvetica", sans-serif;
}

@media (max-width: 768px) {
    .appointment-page {
        padding: 160px 0 50px;
    }
    
    .appointment-header h1 {
        font-size: 36px;
    }
    
    .appointment-form {
        padding: 25px;
        margin: 0 15px;
    }
    
    .slots-grid {
        grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    }
}
/* ===== ВЫБОР ВИДА ЖИВОТНОГО ===== */
.pet-type-selector {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 5px;
}

.pet-type-btn {
    padding: 10px 20px;
    background: white;
    border: 2px solid #F5CDD3;
    border-radius: 40px;
    font-family: "Coolvetica", sans-serif;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s;
    color: #5B2B37;
}

.pet-type-btn:hover {
    border-color: #AA4E65;
    transform: translateY(-2px);
}

.pet-type-btn.active {
    background: #AA4E65;
    border-color: #AA4E65;
    color: white;
}

/* ===== ВЫБОР УСЛУГИ ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
    max-height: 300px;
    overflow-y: auto;
    padding: 5px;
}

.service-card {
    background: #fef8f6;
    border: 2px solid #F5CDD3;
    border-radius: 16px;
    padding: 14px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.service-card:hover {
    border-color: #AA4E65;
    transform: translateY(-2px);
}

.service-card.selected {
    background: #AA4E65;
    border-color: #AA4E65;
}

.service-card.selected .service-name {
    color: white;
}

.service-name {
    font-family: "Coolvetica", sans-serif;
    font-size: 14px;
    color: #5B2B37;
    letter-spacing: 0.3px;
}

.no-services {
    text-align: center;
    padding: 30px;
    font-family: "Coolvetica", sans-serif;
    color: #7a6a6a;
    background: #fef8f6;
    border-radius: 16px;
}

/* ===== ВРЕМЯ ===== */
.loading-message {
    text-align: center;
    padding: 30px;
    font-family: "Coolvetica", sans-serif;
    color: #7a6a6a;
    background: #fef8f6;
    border-radius: 16px;
}

.slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 10px;
}

.time-slot {
    background: #F5CDD3;
    border: none;
    padding: 10px;
    border-radius: 12px;
    font-family: "Coolvetica", sans-serif;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    color: #5B2B37;
}

.time-slot:hover {
    background: #AA4E65;
    color: white;
}

.time-slot.selected {
    background: #AA4E65;
    color: white;
}

.error-message {
    text-align: center;
    padding: 20px;
    background: #f8d7da;
    color: #721c24;
    border-radius: 12px;
    font-family: "Coolvetica", sans-serif;
}
/* ===== ВЫБОР ПИТОМЦА ===== */
.pets-selector {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.pet-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: white;
    border: 2px solid #F5CDD3;
    border-radius: 50px;
    font-family: "Coolvetica", sans-serif;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    color: #5B2B37;
}

.pet-btn:hover {
    border-color: #AA4E65;
    transform: translateY(-2px);
}

.pet-btn.active {
    background: #AA4E65;
    border-color: #AA4E65;
    color: white;
}

.pet-icon {
    font-size: 20px;
}

.pet-name {
    font-weight: bold;
}

.pet-type {
    font-size: 13px;
    opacity: 0.8;
}

.no-pets {
    text-align: center;
    padding: 20px;
    background: #fef8f6;
    border-radius: 16px;
    font-family: "Coolvetica", sans-serif;
    color: #7a6a6a;
}

.no-pets a {
    color: #AA4E65;
    text-decoration: none;
}

/* ===== ВЫБОР УСЛУГИ ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
    max-height: 300px;
    overflow-y: auto;
    padding: 5px;
}

.service-card {
    background: #fef8f6;
    border: 2px solid #F5CDD3;
    border-radius: 16px;
    padding: 14px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.service-card:hover {
    border-color: #AA4E65;
    transform: translateY(-2px);
}

.service-card.selected {
    background: #AA4E65;
    border-color: #AA4E65;
}

.service-card.selected .service-name {
    color: white;
}

.service-name {
    font-family: "Coolvetica", sans-serif;
    font-size: 14px;
    color: #5B2B37;
    letter-spacing: 0.3px;
}

/* ===== ВРЕМЯ ===== */
.loading-message {
    text-align: center;
    padding: 30px;
    font-family: "Coolvetica", sans-serif;
    color: #7a6a6a;
    background: #fef8f6;
    border-radius: 16px;
}

.slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 10px;
}

.time-slot {
    background: #F5CDD3;
    border: none;
    padding: 10px;
    border-radius: 12px;
    font-family: "Coolvetica", sans-serif;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    color: #5B2B37;
}

.time-slot:hover {
    background: #AA4E65;
    color: white;
}

.time-slot.selected {
    background: #AA4E65;
    color: white;
}

.error-message {
    text-align: center;
    padding: 20px;
    background: #f8d7da;
    color: #721c24;
    border-radius: 12px;
    font-family: "Coolvetica", sans-serif;
}
/* ===== СТРАНИЦА АВТОРИЗАЦИИ ===== */
.auth-required-card {
    max-width: 500px;
    margin: 100px auto;
    background: white;
    border-radius: 30px;
    padding: 50px 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.auth-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.auth-required-card h2 {
    font-family: "Czizh", cursive;
    color: #AA4E65;
    font-size: 32px;
    margin-bottom: 15px;
}

.auth-required-card p {
    font-family: "Coolvetica", sans-serif;
    color: #5B2B37;
    margin-bottom: 30px;
}

.auth-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-login, .btn-register {
    padding: 12px 30px;
    border-radius: 50px;
    font-family: "Coolvetica", sans-serif;
    font-size: 16px;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
}

.btn-login {
    background: #AA4E65;
    color: white;
}

.btn-login:hover {
    background: #8a3e52;
    transform: scale(1.02);
}

.btn-register {
    background: white;
    color: #AA4E65;
    border: 2px solid #AA4E65;
}

.btn-register:hover {
    background: #AA4E65;
    color: white;
}

/* ===== НЕТ ПИТОМЦЕВ ===== */
.no-pets-card {
    max-width: 500px;
    margin: 100px auto;
    background: white;
    border-radius: 30px;
    padding: 50px 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.no-pets-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.no-pets-card h2 {
    font-family: "Czizh", cursive;
    color: #AA4E65;
    font-size: 32px;
    margin-bottom: 15px;
}

.no-pets-card p {
    font-family: "Coolvetica", sans-serif;
    color: #5B2B37;
    margin-bottom: 30px;
}

.btn-add-pet {
    display: inline-block;
    padding: 12px 30px;
    background: #AA4E65;
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-family: "Coolvetica", sans-serif;
    transition: all 0.3s;
}

.btn-add-pet:hover {
    background: #8a3e52;
    transform: scale(1.02);
}
/* ===== ОБЩИЕ СТИЛИ ===== */
.appointment-page {
    background: #F5CDD3;
    min-height: 100vh;
    padding: 180px 0 80px;
}

.appointment-header {
    text-align: center;
    margin-bottom: 40px;
}

.appointment-header h1 {
    font-family: "Czizh", cursive;
    font-size: 48px;
    color: #AA4E65;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.appointment-header p {
    font-family: "Coolvetica", sans-serif;
    font-size: 18px;
    color: #5B2B37;
}

.appointment-form {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

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

.form-group label {
    display: block;
    font-family: "Coolvetica", sans-serif;
    font-weight: normal;
    color: #AA4E65;
    margin-bottom: 8px;
    font-size: 16px;
    letter-spacing: 0.5px;
}

/* ===== КАРТОЧКА АВТОРИЗАЦИИ ===== */
.auth-card {
    max-width: 500px;
    margin: 100px auto;
    background: white;
    border-radius: 30px;
    padding: 50px 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.auth-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.auth-card h2 {
    font-family: "Czizh", cursive;
    color: #AA4E65;
    font-size: 32px;
    margin-bottom: 15px;
}

.auth-card p {
    font-family: "Coolvetica", sans-serif;
    color: #5B2B37;
    margin-bottom: 30px;
}

.auth-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-login, .btn-register {
    padding: 12px 30px;
    border-radius: 50px;
    font-family: "Coolvetica", sans-serif;
    font-size: 16px;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
}

.btn-login {
    background: #AA4E65;
    color: white;
}

.btn-login:hover {
    background: #8a3e52;
    transform: scale(1.02);
}

.btn-register {
    background: white;
    color: #AA4E65;
    border: 2px solid #AA4E65;
}

.btn-register:hover {
    background: #AA4E65;
    color: white;
}

/* ===== НЕТ ПИТОМЦЕВ ===== */
.no-pets-card {
    max-width: 500px;
    margin: 100px auto;
    background: white;
    border-radius: 30px;
    padding: 50px 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.no-pets-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.no-pets-card h2 {
    font-family: "Czizh", cursive;
    color: #AA4E65;
    font-size: 32px;
    margin-bottom: 15px;
}

.no-pets-card p {
    font-family: "Coolvetica", sans-serif;
    color: #5B2B37;
    margin-bottom: 30px;
}

.btn-add-pet {
    display: inline-block;
    padding: 12px 30px;
    background: #AA4E65;
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-family: "Coolvetica", sans-serif;
    transition: all 0.3s;
}

.btn-add-pet:hover {
    background: #8a3e52;
    transform: scale(1.02);
}

/* ===== ВЫБОР ПИТОМЦА ===== */
.pets-selector {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.pet-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: white;
    border: 2px solid #F5CDD3;
    border-radius: 50px;
    font-family: "Coolvetica", sans-serif;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    color: #5B2B37;
}

.pet-btn:hover {
    border-color: #AA4E65;
    transform: translateY(-2px);
}

.pet-btn.active {
    background: #AA4E65;
    border-color: #AA4E65;
    color: white;
}

.pet-icon {
    font-size: 20px;
}

.pet-name {
    font-weight: bold;
}

.pet-type {
    font-size: 13px;
    opacity: 0.8;
}

/* ===== ВЫБОР УСЛУГИ ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
    max-height: 300px;
    overflow-y: auto;
    padding: 5px;
}

.service-card {
    background: #fef8f6;
    border: 2px solid #F5CDD3;
    border-radius: 16px;
    padding: 14px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.service-card:hover {
    border-color: #AA4E65;
    transform: translateY(-2px);
}

.service-card.selected {
    background: #AA4E65;
    border-color: #AA4E65;
}

.service-card.selected .service-name {
    color: white;
}

.service-name {
    font-family: "Coolvetica", sans-serif;
    font-size: 14px;
    color: #5B2B37;
    letter-spacing: 0.3px;
}

/* ===== ВЫБОР ДАТЫ ===== */
.form-group input[type="date"] {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #F5CDD3;
    border-radius: 12px;
    font-family: "Coolvetica", sans-serif;
    font-size: 15px;
    transition: all 0.3s;
    background: white;
}

.form-group input[type="date"]:focus {
    outline: none;
    border-color: #AA4E65;
}

/* ===== ВРЕМЯ ===== */
.loading-message {
    text-align: center;
    padding: 30px;
    font-family: "Coolvetica", sans-serif;
    color: #7a6a6a;
    background: #fef8f6;
    border-radius: 16px;
}

.slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 10px;
}

.time-slot {
    background: #F5CDD3;
    border: none;
    padding: 10px;
    border-radius: 12px;
    font-family: "Coolvetica", sans-serif;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    color: #5B2B37;
}

.time-slot:hover {
    background: #AA4E65;
    color: white;
}

.time-slot.selected {
    background: #AA4E65;
    color: white;
}

.error-message {
    text-align: center;
    padding: 20px;
    background: #f8d7da;
    color: #721c24;
    border-radius: 12px;
    font-family: "Coolvetica", sans-serif;
}

.success-message {
    text-align: center;
    padding: 20px;
    background: #d4edda;
    color: #155724;
    border-radius: 12px;
    font-family: "Coolvetica", sans-serif;
    margin-bottom: 20px;
}

.no-services {
    text-align: center;
    padding: 30px;
    font-family: "Coolvetica", sans-serif;
    color: #7a6a6a;
    background: #fef8f6;
    border-radius: 16px;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background: #AA4E65;
    color: white;
    border: none;
    border-radius: 50px;
    font-family: "Coolvetica", sans-serif;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 20px;
}

.btn-submit:hover {
    background: #8a3e52;
    transform: scale(1.02);
}

.btn-submit:disabled {
    background: #F5CDD3;
    cursor: not-allowed;
    transform: none;
}

@media (max-width: 768px) {
    .appointment-page {
        padding: 160px 0 50px;
    }
    
    .appointment-header h1 {
        font-size: 36px;
    }
    
    .appointment-form {
        padding: 25px;
        margin: 0 15px;
    }
    
    .pets-selector {
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .slots-grid {
        grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    }
    
    .auth-card {
        margin: 50px 20px;
        padding: 30px 20px;
    }
    
    .no-pets-card {
        margin: 50px 20px;
        padding: 30px 20px;
    }
}