/* ===== PAGE-SPECIFIC STYLES ===== */

/* ===== LOADING PAGE ===== */
.loading-page {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 10rem;
}

/* ===== PANDIT LIST PAGE ===== */
.pandit-list-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* ===== PANDIT PROFILE PAGE ===== */
.profile-container {
    background-color: white;
    padding: 1rem;
    border-radius: 0.75rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.back-button {
    margin-bottom: 1.5rem;
    color: #ea580c; /* orange-600 */
    font-weight: 500;
    display: flex;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s;
}

.back-button:hover {
    color: #c2410c; /* orange-800 */
}

.back-icon {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.25rem;
}

.profile-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 1.5rem;
}

.profile-image {
    width: 8rem;
    height: 8rem;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fed7aa; /* orange-200 */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.profile-info {
    flex: 1;
    text-align: center;
}

.profile-name {
    font-size: 1.875rem;
    font-weight: 700;
    color: #111827; /* gray-900 */
}

.profile-location {
    font-size: 1.125rem;
    color: #6b7280; /* gray-600 */
}

.profile-rating-section {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.75rem;
    gap: 1rem;
}

.profile-rating {
    display: flex;
    align-items: center;
    color: #fbbf24; /* yellow-500 */
}

.profile-rating-count {
    margin-left: 0.5rem;
    color: #6b7280; /* gray-600 */
    font-size: 0.875rem;
}

.profile-experience {
    color: #374151; /* gray-700 */
    font-weight: 500;
}

.profile-details {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.profile-section-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937; /* gray-800 */
    margin-bottom: 0.75rem;
}

.profile-about {
    color: #374151; /* gray-700 */
    line-height: 1.625;
}

.profile-education-list {
    list-style-type: disc;
    list-style-position: inside;
    color: #374151; /* gray-700 */
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.profile-temples {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.temple-item {
    display: flex;
    align-items: center;
    background-color: #f9fafb; /* gray-50 */
    padding: 0.75rem;
    border-radius: 0.5rem;
}

.temple-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: #ea580c; /* orange-600 */
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.temple-name {
    font-weight: 500;
    color: #1f2937; /* gray-800 */
}

.profile-trusts-list {
    list-style-type: disc;
    list-style-position: inside;
    color: #374151; /* gray-700 */
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.pooja-section {
    border-top: 1px solid #e5e7eb;
    margin-top: 2rem;
    padding-top: 1.5rem;
}

.pooja-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pooja-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb; /* gray-200 */
    transition: background-color 0.2s;
}

.pooja-item:hover {
    background-color: #f9fafb; /* gray-50 */
}

.pooja-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827; /* gray-900 */
}

.pooja-duration {
    color: #6b7280; /* gray-600 */
}

.pooja-temple {
    font-size: 0.75rem;
    color: #6b7280; /* gray-500 */
    margin-top: 0.25rem;
}

.pooja-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 0.75rem;
}

.pooja-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937; /* gray-800 */
}

/* ===== BOOKING PAGE ===== */
.booking-container {
    max-width: 42rem;
    margin: 0 auto;
    background-color: white;
    padding: 1rem;
    border-radius: 0.75rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.booking-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #111827; /* gray-900 */
}

.booking-subtitle {
    margin-top: 0.5rem;
    font-size: 1.125rem;
    color: #374151; /* gray-700 */
}

.booking-form {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-section {
    border-top: 1px solid #e5e7eb;
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* ===== CONFIRMATION PAGE ===== */
.confirmation-container {
    max-width: 32rem;
    margin: 0 auto;
    background-color: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    text-align: center;
}

.confirmation-icon {
    width: 5rem;
    height: 5rem;
    background-color: #dcfce7; /* green-100 */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.confirmation-icon svg {
    width: 3rem;
    height: 3rem;
    color: #16a34a; /* green-600 */
}

.confirmation-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #111827; /* gray-900 */
    margin-bottom: 0.75rem;
}

.confirmation-message {
    color: #374151; /* gray-700 */
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

/* ===== REGISTRATION PAGE ===== */
.registration-container {
    max-width: 42rem;
    margin: 0 auto;
    background-color: white;
    padding: 1rem;
    border-radius: 0.75rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

#admin-dashboard-page .registration-container {
    max-width: 100%;
    width: 100%;
}

.registration-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #111827; /* gray-900 */
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.registration-description {
    margin-bottom: 1rem;
    color: #6b7280; /* gray-600 */
}

.registration-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-section-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ea580c; /* orange-600 */
    border-bottom: 1px solid #fed7aa; /* orange-100 */
    padding-bottom: 0.5rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.form-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.form-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* ===== POOJA SERVICE FIELDS ===== */
.pooja-service-entry {
    padding: 1rem;
    border: 1px solid #fed7aa; /* orange-200 */
    border-radius: 0.5rem;
    background-color: #fffbeb; /* orange-50 */
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.pooja-service-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #c2410c; /* orange-700 */
}

.remove-pooja-btn {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    color: #dc2626; /* red-500 */
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s;
}

.remove-pooja-btn:hover {
    color: #b91c1c; /* red-700 */
}

.remove-pooja-icon {
    width: 1.25rem;
    height: 1.25rem;
}

.pooja-details-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 0.5rem;
    border-top: 1px solid #fed7aa; /* orange-100 */
}

.custom-name-field {
    display: none;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 640px) {
    .form-grid-2,
    .form-grid-3 {
        grid-template-columns: 1fr;
    }
    
    .profile-header {
        text-align: center;
    }
    
    .profile-details {
        grid-template-columns: 1fr;
    }
}
