.inner-page {
    background-color: rgba(0, 0, 0, 0.85);
    padding: 1em 2em;
    min-height: auto;
    height: auto;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1600px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.header-content .logo a {
    text-decoration: none;
}

.header-content .logo h1 {
    font-size: 1.8em;
    margin: 0;
    text-align: left;
}

.header-content .logo span {
    font-size: 1em;
    color: #ee6300;
}

.inner-page nav ul li a {
    font-size: 16px;
}

.inner-page nav ul li a.active {
    color: #ee6300;
    text-decoration: underline;
}

.cabinet-main {
    padding: 2em;
    min-height: calc(100vh - 200px);
}

.cabinet-section h2 {
    text-align: center;
    transform: none;
    margin-bottom: 2em;
}

.cabinet-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    grid-template-rows: auto auto;
    gap: 2em;
    max-width: 1400px;
    margin: 0 auto;
}

.profile-card, .appointments-card, .history-card, .favorites-card {
    background-color: rgba(300, 355, 355, 0.45);
    border-radius: 30px;
    padding: 2em;
}

.profile-card {
    grid-row: span 2;
}

.profile-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 2em;
}

.avatar, .avatar-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1em;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ee6300, #ff8533);
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-placeholder span {
    font-size: 2.5em;
    color: white;
    font-weight: bold;
}

.profile-info h3 {
    color: #fff;
    margin: 0;
    font-size: 30px;
}

.profile-info .membership {
    font-size: 14px;
    color: #000;
    margin: 0.5em 0;
}

.profile-info .bonus {
    font-size: 18px;
    margin: 0.5em 0;
}

.profile-info .bonus strong {
    color: #ee6300;
}

.edit-btn {
    background-color: transparent;
    border: 2px solid #ee6300;
    color: #ee6300;
    padding: 0.5em 1.5em;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    margin-top: 1em;
    transition: all 0.3s;
}

.edit-btn:hover {
    background-color: #ee6300;
    color: white;
}

.profile-details {
    border-top: 1px solid #ddd;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 0.8em 0;
    border-bottom: 1px solid #eee;
}

.detail-item .label {
    color: #000;
    font-family: 'TT';
    font-weight: normal;
    font-size: 18px;
    transform: translateX(20px);
}

.detail-item .value {
    color: #000;
    font-family: 'TT';
    font-weight: normal;
    font-size: 18px;
    transform: translateX(-20px);
}

.appointments-card h3, .history-card h3, .favorites-card h3 {
    color: #fff;
    margin-top: 0;
    margin-bottom: 1em;
    font-size: 30px;
}

.appointments-list {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.appointment-item {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    padding: 1em;
    gap: 1em;
}

.appointment-date {
    background: #ee6300;
    color: white;
    padding: 0.5em 1em;
    border-radius: 10px;
    text-align: center;
    min-width: 70px;
}

.appointment-date .day {
    font-size: 30px;
    font-weight: bold;
    display: block;
    transform: translateX(0px);
}

.appointment-date .month {
    font-size: 24px;
}

.appointment-info {
    flex: 1;
}

.appointment-info h4 {
    color: #333;
    margin: 0 0 0.3em 0;
    font-size: 20px;
    font-weight: normal;
    text-shadow: 0 0 BLACK;
}

.appointment-info p {
    margin: 3px;
    font-size: 14px;
    color: #666;
}

.cancel-btn {
    background: transparent;
    border: 1px solid #ee6300;
    color: #ee6300;
    padding: 12px;
    border-radius: 15px;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s;
}

.cancel-btn:hover {
    background: #dc3545;
    color: white;
}

.new-appointment-btn {
    display: block;
    width: fit-content;
    margin: 1.5em auto 0;
    font-size: 18px;
}

.history-list {
    display: flex;
    flex-direction: column;
    gap: 0.8em;
}

.history-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    padding: 1em 1.5em;
}

.history-date {
    color: #666;
    font-size: 14px;
    min-width: 120px;
}

.history-service {
    flex: 1;
    padding: 0 1em;
}

.history-service h4 {
    color: #000;
    margin: 0 0 0.2em 0;
    font-size: 20px;
    font-weight: normal;
    text-shadow: 0 0 BLACK;
}

.history-service p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

.history-price {
    color: #ee6300;
    font-weight: bold;
    font-size: 1.1em;
}

.show-more-btn {
    display: block;
    width: 100%;
    background: transparent;
    border: 2px solid #ee6300;
    color: #ee6300;
    padding: 0.8em;
    border-radius: 20px;
    cursor: pointer;
    font-size: 18px;
    margin-top: 1em;
    transition: all 0.3s;
}

.show-more-btn:hover {
    background: #ee6300;
    color: white;
}

.favorite-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    padding: 1em;
    transition: transform 0.3s, box-shadow 0.3s;
}

.favorite-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.favorite-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 0.5em;
}

.favorite-item span {
    color: #333;
    font-weight: bold;
    text-align: center;
    font-size: 0.9em;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 2em;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

.modal-content h3 {
    color: #ee6300;
    margin-top: 0;
    text-align: center;
}

.close-btn {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 30px;
    cursor: pointer;
    color: #666;
}

.close-btn:hover {
    color: #ee6300;
}

.form-group {
    margin-bottom: 1.5em;
}

.form-group label {
    display: block;
    margin-bottom: 0.5em;
    color: #333;
    font-weight: bold;
}

.form-group input {
    width: 100%;
    padding: 0.8em;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
    box-sizing: border-box;
}

.form-group input:focus {
    border-color: #ee6300;
    outline: none;
}

@media (max-width: 1024px) {
    .cabinet-container {
        grid-template-columns: 1fr;
    }
    
    .profile-card {
        grid-row: auto;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .header-content .logo h1 {
        text-align: center;
        font-size: 1.8em;
    }
    
    .inner-page nav ul li {
        margin: 0.3em;
    }
    
    .inner-page nav ul li a {
        font-size: 14px;
    }
    
    .cabinet-main {
        padding: 1em;
    }
    
    .appointment-item {
        flex-direction: column;
        text-align: center;
    }
    
    .history-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5em;
    }
    
    .favorites-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .inner-page nav ul li {
        display: block;
        margin: 0.5em 0;
    }
    
    .detail-item {
        flex-direction: column;
        text-align: center;
        gap: 0.3em;
    }
}
