/* Booking Page Styles */
.nk-booking-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.nk-profile-header {
    text-align: center;
    margin-bottom: 30px;
}

.nk-avatar-large img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
}

.nk-menu-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.nk-menu-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
}

.nk-menu-item:hover {
    background: #f9f9f9;
}

.nk-menu-item input[type="radio"] {
    margin-top: 5px;
}

.nk-menu-name {
    display: block;
    font-weight: bold;
    font-size: 1.1em;
}

.nk-menu-meta {
    display: block;
    color: #666;
    font-size: 0.9em;
    margin-bottom: 5px;
}

.nk-menu-desc {
    font-size: 0.9em;
    line-height: 1.4;
    color: #444;
}

.nk-calendar-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.nk-calendar-grid {
    background: #fff;
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 8px;
    min-height: 200px;
}

.nk-slot-btn {
    margin: 5px;
    font-size: 0.9em;
}

/* My Page Styles */
.nk-my-page h3 {
    margin-top: 0;
}

.nk-counselor-card {
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    background: #fff;
}

.nk-counselor-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

/* Modal Styles */
.nk-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    overflow-y: auto;
    /* Allow header/footer scrolling */
    display: block;
    /* Switch from flex center to block for reliability with scroll */
    padding-top: 50px;
    /* Space from top */
    padding-bottom: 50px;
}

.nk-modal-content {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 450px;
    margin: 0 auto;
    /* Center horizontally in block */
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.nk-close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    z-index: 1;
}

.nk-price-display {
    text-align: center;
    font-size: 2em;
    font-weight: bold;
    margin: 20px 0;
    color: #333;
}

.nk-modal-title {
    text-align: center;
    margin-top: 0;
}

/* Auth / Form Styles (v1.2.3) */
.nk-auth-container {
    max-width: 400px;
    margin: 40px auto;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
}

.nk-form-group {
    margin-bottom: 20px;
}

.nk-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

.nk-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
    /* Fix input overflow */
}

.nk-btn-primary {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    font-weight: bold;
    margin-top: 10px;
    cursor: pointer;
}

.nk-auth-link {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9em;
}

.error-msg {
    color: red;
    margin-top: 5px;
}

.success-msg {
    color: green;
    margin-top: 5px;
}