/* Public Styles for Pranava Courses */

/* Loading Spinner */
.pranava-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #996515;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.pranava-loading-overlay {
    backdrop-filter: blur(2px);
}

/* Button Styles */
.pranava-btn-secondary {
    background: #6b7280 !important;
    color: white !important;
    border: 1px solid #6b7280 !important;
    padding: 12px 20px !important;
    border-radius: 12px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    text-decoration: none !important;
    margin-left: 12px !important;
}

.pranava-btn-secondary:hover {
    background: #4b5563 !important;
    border-color: #4b5563 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(107, 114, 128, 0.3) !important;
}

.pranava-btn-secondary:active {
    transform: translateY(0) !important;
}

/* Enhanced General Styles - Modern Course Registration & My Courses */
.pranava-course-registration,
.pranava-my-courses {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: transparent;
    min-height: 100vh;
}

/* My Courses Page Specific Styling */
.pranava-my-courses h1,
.pranava-my-courses h2 {
    color: #2d1b00;
    font-weight: 800;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.pranava-my-courses h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

/* Modern Filter Controls */
.pranava-my-courses .filter-controls {
    background: white;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 32px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    display: flex;
    gap: 32px;
    align-items: center;
    flex-wrap: wrap;
}

.pranava-my-courses .filter-controls label {
    color: #1f2937;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 8px;
    display: block;
}

.pranava-my-courses .filter-controls select {
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    background: white;
    color: #374151;
    min-width: 200px;
    transition: all 0.2s ease;
}

.pranava-my-courses .filter-controls select:focus {
    outline: none;
    border-color: #b8860b;
    box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.1);
}

.pranava-course-registration > h2 {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 800;
    color: #2d1b00;
    margin-bottom: 3rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
}

.pranava-course-registration > h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    /* background: linear-gradient(135deg, #545454 0%, #f6f5f4 100%); */
    border-radius: 2px;
}

/* Remove body background override to match site theme */

.pranava-course-registration h2,
.pranava-course-registration h3 {
    color: #996515;
    font-weight: 700;
}

.pranava-step {
    background: white;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
    padding: 40px;
    margin-bottom: 40px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    animation: fadeInUp 0.5s ease-out;
    position: relative;
    overflow: hidden;
}

.pranava-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #b8860b 0%, #996515 100%);
}

.pranava-step h3 {
    color: #1a202c;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 32px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e2e8f0;
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

.pranava-step h3::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    background: linear-gradient(135deg, #b8860b 0%, #996515 100%);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    flex-shrink: 0;
}

.pranava-course-registration {
    counter-reset: step-counter;
}

.pranava-step h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 52px;
    width: 80px;
    height: 2px;
    background: linear-gradient(135deg, #b8860b 0%, #996515 100%);
}

.button-primary, .select-course.button-primary {
    background: #996515;
    border-color: #996515;
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(153, 101, 21, 0.08);
    transition: background 0.18s, box-shadow 0.18s;
}

.button-primary:hover, .select-course.button-primary:hover {
    background: #b07e2a;
    color: #fff;
    box-shadow: 0 4px 16px rgba(153, 101, 21, 0.13);
}


.course-meta {
    color: #996515;
    font-weight: 500;
}

.profiles-grid .profile-card.selected {
    border-color: #996515;
    background: #F8E0BC;
}

.autosuggest-list {
    background: #fff;
    border: 1.5px solid #996515;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 8px 24px 0 rgba(153,101,21,0.10);
}

.autosuggest-item:hover, .autosuggest-item.autosuggest-selected {
    background: #F8E0BC;
    color: #996515;
}


/* Headings */
.pranava-course-registration h2,
.pranava-my-courses h2 {
    color: #f9fafa;
    margin-bottom: 20px;
}

.pranava-my-courses h3,
.pranava-my-courses h4,
.pranava-my-courses h5 {
    color: #7a5700;
    font-weight: 700;
}

.pranava-my-courses .registration-card {
    color: #2d2200;
}

.pranava-my-courses .detail .label {
    color: #7a5700;
    font-weight: 500;
}

.pranava-my-courses .whatsapp-info h5 {
    color: #207d3a;
    font-weight: 600;
}

.whatsapp-info {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    padding: 20px;
    margin: 16px 0;
    text-align: center;
}

.whatsapp-info h5 {
    color: #166534;
    font-weight: 600;
    margin: 0 0 12px;
    font-size: 16px;
}

.orientation-info {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border: 1px solid #fbbf24;
    border-radius: 12px;
    padding: 20px;
    margin: 16px 0;
}

.orientation-info .detail {
    background: white;
    padding: 12px 16px;
    border-radius: 8px;
    margin: 8px 0;
    border: 1px solid #f59e0b;
}

.orientation-reminder {
    background: white;
    border-radius: 16px;
    padding: 32px;
    margin-top: 40px;
    box-shadow: 0 8px 32px rgba(153, 101, 21, 0.08);
    border: 2px solid #F8E0BC;
    text-align: center;
}

.orientation-reminder h3 {
    color: #996515;
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 16px;
}

.orientation-reminder p {
    color: #64748b;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

.pranava-my-courses .registration-header h4 {
    color: #7a5700;
    font-weight: 700;
}

.pranava-my-courses .registration-status-group h3 {
    color: #faf9f7;
    font-weight: 700;
}

.pranava-my-courses .registration-details {
    color: #23282d;
    font-weight: 500;
}
.pranava-my-courses .registration-details .detail .label,
.pranava-my-courses .registration-details .detail .value {
    color: #23282d;
    font-weight: 600;
}

.pranava-my-courses .detail .value {
    color: #333;
    font-weight: 400;
}


.pranava-course-registration h3,
.pranava-my-courses h3 {
    color: #23282d;
    margin: 25px 0 15px;
}

/* Notices */
.pranava-notice {
    padding: 15px;
    margin: 20px 0;
    border-left: 4px solid;
    background: #f8f9fa;
}

.notice-info {
    border-left-color: #72aee6;
}

.notice-warning {
    border-left-color: #dba617;
    background: #fff8e5;
}

.notice-success {
    border-left-color: #00a32a;
    background: #edfaef;
}

.notice-error {
    border-left-color: #d63638;
    background: #fcf0f1;
}

/* Autosuggest Dropdown */
.autosuggest-list {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 8px 24px 0 rgba(30,64,175,0.10);
  z-index: 1000;
  max-height: 230px;
  overflow-y: auto;
  margin-top: -2px;
  min-width: 220px;
}

.course-search-container {
  position: relative;
}

.course-search-box {
  appearance: none;
  -webkit-appearance: none;
}

.courses-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 20px;
  margin-top: 15px;
  align-items: stretch;
}


/* Enhanced Course Search - Modern Design */
.course-search-container {
    position: relative;
    margin-bottom: 32px;
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

.course-search-container label {
    display: block;
    margin-bottom: 12px;
    color: #374151;
    font-weight: 600;
    font-size: 16px;
    background: linear-gradient(135deg, #b8860b 0%, #996515 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#course-search-box {
    width: 100%;
    padding: 18px 24px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 16px;
    background: #f8fafc;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
    font-family: inherit;
}

#course-search-box:focus {
    outline: none;
    border-color: #b8860b;
    background: white;
    box-shadow: 0 0 0 4px rgba(184, 134, 11, 0.1), inset 0 2px 4px rgba(0, 0, 0, 0.02);
    transform: translateY(-1px);
}

#course-search-box::placeholder {
    color: #9ca3af;
    font-style: italic;
}

.course-search-dropdown-wrapper {
    position: relative;
    margin-bottom: 32px;
}

.course-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 20px;
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #b8860b 0%, #996515 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.course-card:hover::before {
    transform: scaleX(1);
}

.course-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border-color: #b8860b;
}

/* Enhanced Profile Selection */
.profiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin: 24px 0;
}

.profile-card {
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #996515, #b07e2a);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.profile-card:hover {
    border-color: #996515;
    box-shadow: 0 8px 20px rgba(153, 101, 21, 0.15);
    transform: translateY(-2px);
}

.profile-card:hover::before {
    transform: scaleX(1);
}

.profile-card.selected {
    border-color: #996515;
    background: linear-gradient(135deg, #F8E0BC, #fff);
    box-shadow: 0 8px 20px rgba(153, 101, 21, 0.2);
}

.profile-card.selected::before {
    transform: scaleX(1);
}

.profile-selector {
    display: flex;
    align-items: center;
    cursor: pointer;
    width: 100%;
}

.profile-checkbox {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    accent-color: #996515;
    cursor: pointer;
}

.profile-info {
    flex: 1;
}

.profile-info h4 {
    margin: 0;
    color: #1e293b;
    font-size: 16px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.profile-card:hover .profile-info h4 {
    color: #996515;
}

.profile-card.selected .profile-info h4 {
    color: #996515;
    font-weight: 700;
}

/* Enhanced Course Cards */
.courses-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin: 24px 0;
}

.course-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    padding: 24px;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

/* Course header */
.course-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.course-type-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.65em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 12px;
    white-space: nowrap;
    display: inline-block;
}

.course-type-badge.academic {
    background: linear-gradient(135deg, #b8860b 0%, #996515 100%);
    color: white;
}

.course-type-badge.term {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

/* Course description */
.course-description {
    margin-bottom: 20px;
}

.description-preview, .description-full p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 12px;
}

.prerequisites {
    background: #f8f9fa;
    border-left: 4px solid #007cba;
    padding: 12px 16px;
    margin-top: 16px;
    border-radius: 0 6px 6px 0;
}

.prerequisites strong {
    color: #007cba;
    display: block;
    margin-bottom: 8px;
}

.toggle-description {
    background: none;
    border: none;
    color: #007cba;
    cursor: pointer;
    font-weight: 500;
    padding: 0;
    text-decoration: underline;
    font-size: 0.9em;
}

.toggle-description:hover {
    color: #005a87;
}

/* Course meta */
.course-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    padding: 12px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.course-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #666;
    font-size: 0.9em;
    font-weight: 500;
}

.course-meta svg {
    opacity: 0.7;
}

/* Course actions */
.course-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.course-actions .button {
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.button-secondary {
    background: white;
    color: #996515;
    border: 2px solid #996515;
    font-weight: 600;
    padding: 12px 24px;
    min-height: 44px;
    min-width: 120px;
    white-space: nowrap;
}

.button-secondary:hover {
    background: #996515;
    color: white;
    border-color: #996515;
    box-shadow: 0 4px 12px rgba(153, 101, 21, 0.2);
}


/* Session Items */
.sessions-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.session-item {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.session-item:hover {
    border-color: #996515;
    box-shadow: 0 8px 25px rgba(153, 101, 21, 0.12);
    transform: translateY(-2px);
}

.session-item.selected {
    border-color: #0073aa;
    box-shadow: 0 0 0 3px rgba(0,115,170,0.15);
}

.session-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.session-header h4 {
    margin: 0;
    font-size: 1.2em;
    font-weight: 600;
    color: #333;
}

.session-meta {
    text-align: right;
}

.session-meta .session-dates {
    color: #1f2937;
    font-weight: 600;
    font-size: 0.9em;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.status-upcoming {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.status-badge.status-ongoing {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.status-badge.status-full {
    background: linear-gradient(135deg, #fecaca, #fca5a5);
    color: #991b1b;
    border-color: #ef4444;
}

.session-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.session-dates, .session-schedule, .session-orientation {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.session-orientation {
    grid-column: 1 / -1;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
}

.info-item svg {
    color: #374151;
    margin-top: 2px;
    flex-shrink: 0;
}

.info-item div {
    flex: 1;
}

.info-item strong {
    display: block;
    color: #1f2937;
    font-weight: 700;
    margin-bottom: 4px;
    font-size: 0.95em;
}

.info-item span {
    color: #374151;
    font-size: 0.9em;
    font-weight: 500;
}

.orientation-highlight {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 1px solid #f59e0b;
}

.orientation-highlight svg {
    color: #f59e0b;
}

.orientation-highlight strong {
    color: #92400e;
}

.session-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

.session-actions .button {
    padding: 8px 16px;
    font-size: 13px;
    min-height: 36px;
    min-width: 120px;
    border-radius: 8px;
}

.session-actions small {
    font-size: 11px;
    font-weight: 500;
    text-align: center;
    padding: 4px 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid currentColor;
    max-width: 180px;
    line-height: 1.3;
}

.session-status-message {
    display: block !important;
    margin-top: 8px !important;
    padding: 6px 12px !important;
    border-radius: 6px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    text-align: center !important;
    line-height: 1.2 !important;
    border: 1px solid !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.session-status-message.status-full {
    background: linear-gradient(135deg, #fecaca, #fca5a5) !important;
    color: #991b1b !important;
    border-color: #ef4444 !important;
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.2) !important;
}

.session-status-message.status-waitlist {
    background: linear-gradient(135deg, #fef3c7, #fde68a) !important;
    color: #92400e !important;
    border-color: #f59e0b !important;
    box-shadow: 0 2px 4px rgba(245, 158, 11, 0.2) !important;
    animation: pulse-waitlist 2s infinite !important;
}

@keyframes pulse-waitlist {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 2px 4px rgba(245, 158, 11, 0.2);
    }
    50% { 
        transform: scale(1.02);
        box-shadow: 0 4px 8px rgba(245, 158, 11, 0.3);
    }
}

@media (max-width: 768px) {
    .session-info-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    /* Enhanced Mobile Course Cards */
    .courses-list {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        margin: 16px 0 !important;
    }
    
    .course-card {
        padding: 20px !important;
        margin-bottom: 16px !important;
        border-radius: 12px !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    }
    
    .course-header {
        flex-direction: column !important;
        gap: 8px !important;
        align-items: flex-start !important;
        margin-bottom: 12px !important;
    }
    
    .course-header h4 {
        font-size: 16px !important;
        line-height: 1.3 !important;
        margin: 0 !important;
        width: 100% !important;
    }
    
    .course-type-badge {
        margin-left: 0 !important;
        align-self: flex-start !important;
        font-size: 0.7em !important;
        padding: 3px 8px !important;
    }
    
    .course-description {
        margin-bottom: 12px !important;
    }
    
    .description-preview {
        font-size: 14px !important;
        line-height: 1.4 !important;
        margin-bottom: 8px !important;
    }
    
    .course-meta {
        flex-direction: column !important;
        gap: 8px !important;
        margin: 12px 0 !important;
        padding: 8px 0 !important;
    }
    
    .course-meta span {
        font-size: 13px !important;
        padding: 6px 8px !important;
        border-radius: 4px !important;
        background: #f8fafc !important;
        border: 1px solid #e2e8f0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 6px !important;
    }
    
    .course-meta svg {
        width: 14px !important;
        height: 14px !important;
        flex-shrink: 0 !important;
    }
    
    .course-actions {
        flex-direction: column !important;
        gap: 8px !important;
        justify-content: stretch !important;
        margin-top: 16px !important;
    }
    
    .course-actions .button {
        flex: 1 !important;
        text-align: center !important;
        padding: 12px 16px !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        border-radius: 8px !important;
        min-height: 44px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .button-secondary {
        order: 2 !important;
        background: #f8fafc !important;
        color: #374151 !important;
        border: 2px solid #e2e8f0 !important;
    }
    
    .button-secondary:hover {
        background: #996515 !important;
        color: white !important;
        border-color: #996515 !important;
    }
    
    .button-primary {
        order: 1 !important;
        background: linear-gradient(135deg, #996515, #b07e2a) !important;
        border-color: #996515 !important;
        color: white !important;
    }
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #996515, #b07e2a);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.course-card:hover {
    border-color: #996515;
    box-shadow: 0 12px 28px rgba(153, 101, 21, 0.15);
    transform: translateY(-4px);
}

.course-card:hover::before {
    transform: scaleX(1);
}

.course-card h4 {
    margin: 0 0 12px;
    color: #1e293b;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.course-card:hover h4 {
    color: #996515;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    margin: 16px 0;
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

.course-meta span {
    background: #f1f5f9;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

/* Sessions List */
.sessions-list {
    margin: 20px 0;
}

.session-item.unselected {
    opacity: 0.8;
}

.session-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.session-header .session-meta .session-dates {
    color: #1f2937;
    font-weight: 600;
    font-size: 0.9em;
}

.session-details {
    color: #374151;
    font-size: 0.9em;
    font-weight: 500;
}

.session-details p {
    margin: 5px 0;
}

.lazy-end-message {
    color: #374151 !important;
    font-weight: 500 !important;
    font-size: 14px !important;
}

/* Additional text elements that might be light */
.step-description,
.help-text,
.instruction-text {
    color: #374151 !important;
    font-weight: 500 !important;
}

/* Ensure all paragraph text in steps is readable */
.pranava-step p {
    color: #374151 !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
}

/* Fix any remaining light text in registration area */
#registration-response p,
#registration-response div {
    color: #374151 !important;
    font-weight: 500 !important;
}

/* My Courses - Registration Details */
.registration-card .detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
}

.registration-card .detail:last-child {
    border-bottom: none;
}

.registration-card .detail .label {
    color: #374151 !important;
    font-weight: 600 !important;
    font-size: 0.9em !important;
}

.registration-card .detail .value {
    color: #1f2937 !important;
    font-weight: 500 !important;
    font-size: 0.9em !important;
    text-align: right;
}

/* Orientation Info Styling */
.orientation-info {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%) !important;
    border: 2px solid #f59e0b !important;
    border-radius: 12px !important;
    padding: 16px !important;
    margin: 16px 0 !important;
}

.orientation-info h5 {
    color: #92400e !important;
    font-weight: 700 !important;
    margin-bottom: 8px !important;
    font-size: 1em !important;
}

.orientation-info p {
    color: #92400e !important;
    font-weight: 500 !important;
    margin: 4px 0 !important;
    font-size: 0.9em !important;
}

/* WhatsApp Button in Cards */
.registration-card .whatsapp-button {
    width: 100% !important;
    margin: 16px 0 8px 0 !important;
    min-width: auto !important;
}

/* View Details Button */
.registration-card .view-details-btn {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    color: #374151;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9em;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    margin-top: 12px;
}

.registration-card .view-details-btn:hover {
    background: #b8860b;
    border-color: #b8860b;
    color: white;
    transform: translateY(-1px);
}

/* Responsive Design */
/* Additional Mobile Optimizations for Course Registration */
@media (max-width: 768px) {
    .registrations-grid {
        grid-template-columns: 1fr;
    }
    
    .pranava-my-courses .filter-controls {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }
    
    .pranava-my-courses .filter-controls select {
        min-width: auto;
        width: 100%;
    }
    
    /* Mobile Course Registration Optimizations */
    .pranava-course-registration {
        padding: 20px 15px !important;
    }
    
    .pranava-course-registration > h2 {
        font-size: 2rem !important;
        margin-bottom: 2rem !important;
    }
    
    .pranava-step {
        padding: 24px 20px !important;
        margin-bottom: 24px !important;
        border-radius: 16px !important;
    }
    
    .pranava-step h3 {
        font-size: 20px !important;
        margin-bottom: 20px !important;
        padding-bottom: 12px !important;
    }
    
    .pranava-step h3::before {
        width: 32px !important;
        height: 32px !important;
        font-size: 14px !important;
    }
    
    .pranava-step h3::after {
        left: 44px !important;
        width: 60px !important;
    }
    
    /* Mobile Course Search */
    .course-search-container {
        padding: 16px !important;
        margin-bottom: 20px !important;
        border-radius: 12px !important;
    }
    
    .course-search-container label {
        font-size: 14px !important;
        margin-bottom: 8px !important;
    }
    
    #course-search-box {
        padding: 14px 16px !important;
        font-size: 16px !important;
        border-radius: 8px !important;
    }
    
    .course-search-dropdown-wrapper {
        margin-bottom: 20px !important;
    }
    
    /* Mobile Profile Selection */
    .profiles-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        margin: 16px 0 !important;
    }
    
    .profile-card {
        padding: 16px !important;
        border-radius: 12px !important;
    }
    
    .profile-info h4 {
        font-size: 15px !important;
    }
    
    .profile-checkbox {
        width: 18px !important;
        height: 18px !important;
        margin-right: 10px !important;
    }
    
    /* Mobile Step Actions */
    .step-actions {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        margin-top: 24px !important;
    }
    
    .step-actions .button {
        width: 100% !important;
        padding: 14px 20px !important;
        font-size: 16px !important;
        border-radius: 8px !important;
        min-height: 48px !important;
    }
    
    .step-actions .button.previous-step {
        order: 2 !important;
        background: #f8fafc !important;
        color: #374151 !important;
        border: 2px solid #e2e8f0 !important;
    }
    
    .step-actions .button.next-step,
    .step-actions .button.button-primary {
        order: 1 !important;
    }
    
    .step-actions .button.reset-to-step-1 {
        order: 3 !important;
        margin-left: 0 !important;
        background: #ef4444 !important;
        color: white !important;
        border-color: #ef4444 !important;
    }
}

.loading {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}

.loading:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Enhanced Buttons */
.button {
    display: inline-block;
    text-decoration: none;
    font-size: 14px;
    line-height: 1;
    min-height: 44px;
    margin: 0;
    padding: 12px 24px;
    cursor: pointer;
    border: 2px solid;
    border-radius: 12px;
    white-space: nowrap;
    box-sizing: border-box;
    background: white;
    border-color: #996515;
    color: #996515;
    text-decoration: none;
    text-shadow: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.button:hover {
    background: #996515;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(153, 101, 21, 0.3);
}

.button-primary {
    background: linear-gradient(135deg, #996515, #b07e2a);
    border-color: #996515;
    color: white;
    text-decoration: none;
    text-shadow: none;
    border-radius: 12px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(153, 101, 21, 0.3);
    transition: all 0.3s ease;
}

.button-primary:hover {
    background: linear-gradient(135deg, #b07e2a, #996515);
    border-color: #b07e2a;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(153, 101, 21, 0.4);
}

/* Registration Summary */
#registration-summary {
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 24px;
    margin: 20px 0;
}

#registration-summary h3 {
    color: #1f2937;
    font-weight: 700;
    font-size: 1.2em;
    margin-bottom: 16px;
}

/* Target the specific Registration Summary title */
#registration-summary h3:first-child,
#registration-summary h4,
#registration-summary .summary-title {
    color: #1f2937 !important;
    font-weight: 700 !important;
    font-size: 1.3em !important;
}

/* Terms and conditions checkbox styling */
#registration-summary .terms-checkbox {
    margin: 16px 0;
}

#registration-summary .terms-checkbox label {
    color: #1f2937 !important;
    font-weight: 500 !important;
    font-size: 1em !important;
    cursor: pointer;
}

#registration-summary .terms-checkbox input[type="checkbox"] {
    margin-right: 8px;
    transform: scale(1.2);
}

/* Next Steps section styling */
#whatsapp-info h4,
#whatsapp-info h5 {
    color: #1f2937 !important;
    font-weight: 600 !important;
    margin-bottom: 12px !important;
}

#whatsapp-info p {
    color: #374151 !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
}

/* Welcome message styling */
.welcome-message,
.next-steps-text {
    color: #374151 !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
}

/* WhatsApp success message styling */
.whatsapp-success-message {
    color: #1f2937 !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    line-height: 1.5 !important;
    background: #f0fdf4 !important;
    border: 2px solid #22c55e !important;
    border-radius: 12px !important;
    padding: 16px 20px !important;
    margin: 16px 0 !important;
}

.whatsapp-success-message h4,
.whatsapp-success-message h5 {
    color: #166534 !important;
    font-weight: 700 !important;
    margin-bottom: 8px !important;
}

.whatsapp-success-message p {
    color: #1f2937 !important;
    font-weight: 500 !important;
    margin-bottom: 8px !important;
}

/* My Courses - Registration Status Groups */
.registration-status-group {
    margin-bottom: 40px;
}

.registration-status-group h3 {
    color: #1f2937;
    font-weight: 700;
    font-size: 1.4em;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 3px solid #b8860b;
    position: relative;
}

.registration-status-group h3::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #b8860b 0%, #996515 100%);
}

/* Enhanced Registration Cards */
.registrations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
    gap: 24px;
    margin-top: 20px;
}

.registration-card {
    background: white !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 16px !important;
    padding: 24px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    overflow: hidden !important;
    max-width: none !important;
    margin-bottom: 0 !important;
}

.registration-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #b8860b 0%, #996515 100%);
}

.registration-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
    border-color: #b8860b !important;
}

.registration-card.status-approved::before {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.registration-card.status-pending::before {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.registration-card.status-waitlisted::before {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.registration-card.status-completed::before {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

/* Enhanced Registration Header */
.registration-header {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    margin-bottom: 16px !important;
    gap: 16px !important;
}

.registration-header h4 {
    color: #1f2937 !important;
    font-size: 1.1em !important;
    font-weight: 700 !important;
    margin: 0 !important;
    line-height: 1.3 !important;
    flex: 1 !important;
}

/* Enhanced Status Badges */
.status-badge {
    padding: 8px 12px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 0.8em !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border: 2px solid !important;
    flex-shrink: 0 !important;
}

.status-badge.status-approved {
    background: #dcfce7 !important;
    color: #166534 !important;
    border-color: #22c55e !important;
}

.status-badge.status-pending {
    background: #fef3c7 !important;
    color: #92400e !important;
    border-color: #f59e0b !important;
}

.status-badge.status-waitlisted {
    background: #fecaca !important;
    color: #991b1b !important;
    border-color: #ef4444 !important;
}

.status-badge.status-completed {
    background: #e0e7ff !important;
    color: #4338ca !important;
    border-color: #8b5cf6 !important;
}

.status-badge.status-cancelled {
    background: #f3f4f6 !important;
    color: #374151 !important;
    border-color: #9ca3af !important;
}

#registration-summary p {
    color: #374151;
    font-weight: 500;
    margin-bottom: 8px;
    line-height: 1.5;
}

#registration-summary strong {
    color: #1f2937;
    font-weight: 600;
}

#registration-summary .summary-item {
    margin-bottom: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #e5e7eb;
}

#registration-summary .summary-item:last-child {
    border-bottom: none;
}

#registration-summary .summary-label {
    color: #374151;
    font-weight: 600;
    display: inline-block;
    min-width: 120px;
}

#registration-summary .summary-value {
    color: #1f2937;
    font-weight: 500;
}

/* Enhanced WhatsApp Button */
.whatsapp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 16px auto;
    padding: 16px 32px;
    background: linear-gradient(135deg, #25D366, #128c7e) !important;
    border: none;
    border-radius: 16px;
    color: white !important;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    min-width: 250px;
    position: relative;
    overflow: hidden;
}

.whatsapp-button::before {
    content: '💬';
    margin-right: 8px;
    font-size: 16px;
}

.whatsapp-button:hover, .whatsapp-button:focus {
    background: linear-gradient(135deg, #128c7e, #25D366) !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
    text-decoration: none;
}

.whatsapp-button .whatsapp-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-right: 12px;
    vertical-align: middle;
 /* course search dropdown @bhuvan verify this  }*/

    padding-bottom: 10px;
    background-color: #25D366 !important;
    border-color: #25D366 !important;
    color: white !important;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
}

.whatsapp-button:before {
    content: "\f237";
    font-family: dashicons;
    margin-right: 5px;
}

/* Enhanced Empty State */
.pranava-notice {
    background: white;
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(153, 101, 21, 0.08);
    border: 2px solid #F8E0BC;
    margin: 32px 0;
}

.pranava-notice p {
    color: #64748b;
    font-size: 16px;
    margin: 0 0 24px;
    line-height: 1.6;
}

.pranava-notice .button {
    background: linear-gradient(135deg, #996515, #b07e2a);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(153, 101, 21, 0.3);
}

.pranava-notice .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(153, 101, 21, 0.4);
    color: white;
    text-decoration: none;
}

/* Registrations Grid Layout */
.registrations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 12px;
    margin: 12px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .profiles-grid,
    .courses-list,
    .registrations-grid {
        grid-template-columns: 1fr;
    }
    
    .pranava-course-registration,
    .pranava-my-courses {
        padding: 20px 16px;
        margin: 20px 16px;
    }
    
    .registration-card {
        padding: 10px 12px;
    }
    
    .registration-card h4 {
        padding-right: 50px;
        font-size: 14px;
    }
    
    .detail {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
        margin-bottom: 8px;
    }
    
    .detail .label {
        font-size: 0.85em;
        font-weight: 500;
    }
    
    .detail .value {
        text-align: left;
    }
}

/* Registration Card Details Compact Styling */
.registration-details {
    margin-bottom: 8px;
}

.registration-details .detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3px;
    padding: 1px 0;
}

.registration-details .detail .label {
    font-size: 0.8em;
    font-weight: 500;
    color: #666;
    min-width: 60px;
}

.registration-details .detail .value {
    font-size: 0.8em;
    color: #333;
    text-align: right;
    flex: 1;
}

/* WhatsApp and Orientation Info Compact */
.whatsapp-info, .orientation-info {
    margin: 6px 0;
    padding: 6px 8px;
    border-radius: 6px;
    background: rgba(37, 211, 102, 0.1);
}

.orientation-info {
    background: rgba(167, 124, 27, 0.1);
}

.whatsapp-info .button, .orientation-info .button {
    padding: 4px 8px;
    font-size: 0.75em;
    margin: 2px 0;
}

/* Registration Actions Compact */
.registration-actions {
    display: flex;
    gap: 6px;
    justify-content: flex-end;
    margin-top: 8px;
}

.registration-actions .button {
    padding: 4px 10px;
    font-size: 0.75em;
}

/* Enhanced My Courses Page */
.pranava-my-courses h2 {
    color: #fcfaf7;
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 32px;
    text-align: center;
    position: relative;
    padding-bottom: 16px;
}

.pranava-my-courses h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, #996515, #b07e2a);
    border-radius: 2px;
}

/* Profile Filter Dropdown */
.pranava-my-courses > div:first-of-type {
    background: white;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    margin-bottom: 32px;
}

.pranava-my-courses select {
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: white;
    color: #1e293b;
    font-weight: 500;
}

.pranava-my-courses select:focus {
    outline: none;
    border-color: #996515;
    box-shadow: 0 0 0 3px rgba(153, 101, 21, 0.1);
}

.pranava-my-courses label {
    color: #996515;
    font-weight: 600;
    font-size: 16px;
}

.registration-card:nth-child(1) { animation-delay: 0.1s; }
.registration-card:nth-child(2) { animation-delay: 0.2s; }
.registration-card:nth-child(3) { animation-delay: 0.3s; }
.registration-card:nth-child(4) { animation-delay: 0.4s; }

.registration-card {
    animation: fadeInUp 0.6s ease-out both;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 20px;
    padding: 28px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(153, 101, 21, 0.08);
}

.registration-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(135deg, #996515, #b07e2a);
}

.registration-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(153, 101, 21, 0.15);
    border-color: #996515;
}

.registration-card .status-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid transparent;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.registration-card h4 {
    margin: 0 0 20px;
    padding-right: 120px;
    color: #996515;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.registration-details {
    margin: 20px 0;
    background: #f8fafc;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.detail {
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
}

.detail:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.detail .label {
    font-weight: 600;
    color: #996515;
    font-size: 14px;
    min-width: 100px;
}

.detail .value {
    color: #1e293b;
    font-weight: 500;
    text-align: right;
    flex: 1;
}

.registration-actions {
    margin-top: 24px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

/* Enhanced Status Colors for My Courses */
.registration-status-group {
    margin-bottom: 40px;
}

.registration-status-group h3 {
    color: #996515;
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 24px;
    padding: 16px 0;
    border-bottom: 2px solid #F8E0BC;
    position: relative;
}

.registration-status-group h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(135deg, #996515, #b07e2a);
}

.status-pending {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
    border-color: #f59e0b;
}

.status-approved {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    color: #065f46;
    border-color: #10b981;
}

.status-completed {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: #1e40af;
    border-color: #3b82f6;
}

.status-cancelled {
    background: linear-gradient(135deg, #fecaca, #fca5a5);
    color: #991b1b;
    border-color: #ef4444;
}

/* Loading State */
.loading {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}

.loading:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Modern Login Required Prompt Styling */
.pranava-login-required-card,
.pranava-profile-required-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    margin: 40px auto;
    border: 1px solid #e0e0e0;
    animation: fadeInUp 0.6s ease-out;
}

.pranava-login-icon,
.pranava-profile-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, #996515, #b07e2a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 8px 20px rgba(153, 101, 21, 0.3);
}

.pranava-login-title,
.pranava-profile-title {
    color: #996515;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 16px;
    letter-spacing: -0.5px;
}

.pranava-login-message,
.pranava-profile-message {
    color: #64748b;
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 32px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.pranava-login-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.pranava-login-button,
.pranava-create-profile-button {
    background: linear-gradient(135deg, #996515, #b07e2a);
    color: white;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(153, 101, 21, 0.3);
    cursor: pointer;
}

.pranava-login-button:hover,
.pranava-create-profile-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(153, 101, 21, 0.4);
    text-decoration: none;
    color: white;
}

.pranava-register-button {
    background: white;
    color: #996515;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border: 2px solid #996515;
    transition: all 0.3s ease;
    display: inline-block;
}

.pranava-register-button:hover {
    background: #996515;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(153, 101, 21, 0.3);
    text-decoration: none;
}

.pranava-login-benefits,
.pranava-profile-benefits {
    background: #f8fafc;
    border-radius: 12px;
    padding: 24px;
    text-align: left;
    border: 1px solid #e2e8f0;
}

.pranava-login-benefits h4,
.pranava-profile-benefits h4 {
    color: #996515;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 16px;
    text-align: center;
}

.pranava-login-benefits ul,
.pranava-profile-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pranava-login-benefits li,
.pranava-profile-benefits li {
    color: #475569;
    font-size: 15px;
    margin: 12px 0;
    padding-left: 8px;
    font-weight: 500;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Course Details Modal */
.pranava-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.pranava-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.pranava-modal-content {
    position: relative;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    /* max-width: 700px; */
    width: 100%;
    min-width: 80%;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.pranava-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 2px solid #F8E0BC;
    background: linear-gradient(135deg, #F8E0BC, #fff);
    border-radius: 20px 20px 0 0;
}

.pranava-modal-header h3 {
    margin: 0;
    color: #996515;
    font-size: 24px;
    font-weight: 700;
    flex: 1;
    padding-right: 20px;
}

.pranava-modal-close {
    background: rgba(153, 101, 21, 0.1);
    border: 2px solid #996515;
    font-size: 18px;
    color: #996515;
    cursor: pointer;
    padding: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    flex-shrink: 0;
    font-weight: bold;
    line-height: 1;
}

.pranava-modal-close:hover {
    background: #996515;
    color: white;
   
    border-color: #996515;
}
.pranava-modal-header .pranava-modal-close:hover {
    background: #996515;
    color: white;
    transform: rotate(90deg);
    border-color: #996515;
}

.pranava-modal-body {
    padding: 32px;
}

.modal-course-type-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.modal-course-type-badge.academic {
    background: linear-gradient(135deg, #b8860b 0%, #996515 100%);
    color: white;
}

.modal-course-type-badge.term {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.modal-course-meta {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
    padding: 16px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.modal-course-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #996515;
    font-weight: 600;
    font-size: 14px;
}

.modal-course-description,
.modal-course-prerequisites {
    margin-bottom: 24px;
}

.modal-course-description h4,
.modal-course-prerequisites h4 {
    color: #996515;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #F8E0BC;
}

.modal-course-description div,
.modal-course-prerequisites div {
    color: #374151;
    line-height: 1.7;
    font-size: 15px;
}

/* Style links in modal content */
.modal-course-description a,
.modal-course-prerequisites a {
    color: #996515;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.2s ease;
}

.modal-course-description a:hover,
.modal-course-prerequisites a:hover {
    color: #b07e2a;
    text-decoration: none;
}

.modal-course-prerequisites {
    background: #f0f9ff;
    border-left: 4px solid #0ea5e9;
    padding: 20px;
    border-radius: 0 8px 8px 0;
}

.modal-course-prerequisites h4 {
    color: #0369a1;
    border-bottom-color: #0ea5e9;
}

.pranava-modal-footer {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
    padding: 32px 32px 36px 32px;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
    border-radius: 0 0 20px 20px;
}

@media (max-width: 768px) {
    .pranava-modal {
        padding: 10px;
    }
    
    .pranava-modal-content {
        max-width: 100%;
        max-height: 95vh;
    }
    
    .pranava-modal-header,
    .pranava-modal-body,
    .pranava-modal-footer {
        padding: 20px;
    }
    
    .pranava-modal-header h3 {
        font-size: 20px;
    }
    
    .modal-course-meta {
        flex-direction: column;
        gap: 12px;
    }
    
    .pranava-modal-footer {
        flex-direction: column;
    }
    
    .pranava-modal-footer .button {
        width: 100%;
        justify-content: center;
    }
}


/* Prevent body scroll when modal is open */
body.modal-open {
    overflow: hidden;
}

/* Responsive Login Card */
@media (max-width: 768px) {
    .pranava-login-required-card {
        margin: 20px;
        padding: 32px 24px;
    }
    
    .pranava-login-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .pranava-login-button,
    .pranava-register-button {
        width: 100%;
        justify-content: center;
        max-width: 280px;
    }
}

/* Profile Manager Header Styling */
.pranava-profile-manager-header {
    background: white;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.pranava-active-profiles {
    flex: 1;
    min-width: 200px;
}

.profiles-summary h4 {
    color: #996515;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 12px;
}

.profiles-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.profile-tag {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    color: #475569;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid #cbd5e1;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.profile-tag small {
    color: #64748b;
    font-size: 12px;
}

.pranava-manage-profiles-btn {
    background: linear-gradient(135deg, #996515, #b07e2a);
    color: white;
    padding: 12px 20px;
    border-radius: 12px;
    border: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(153, 101, 21, 0.3);
}

.pranava-manage-profiles-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(153, 101, 21, 0.4);
}

/* Profile Management Modal */
.pranava-profile-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-out;
}

.pranava-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.pranava-modal-content {
    background: white;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    z-index: 1;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    animation: slideInUp 0.4s ease-out;
}

.pranava-modal-header {
    padding: 24px 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 24px;
}

.pranava-modal-header h3 {
    color: #996515;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.pranava-modal-close {
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.pranava-modal-close:hover {
    background: #f1f5f9;
    color: #334155;
}

.pranava-modal-body {
    padding: 0 24px 24px;
}

.existing-profiles,
.add-profile-section {
    margin-bottom: 32px;
}

.existing-profiles h4,
.add-profile-section h4 {
    color: #334155;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e2e8f0;
}

/* Profile Form Styling */
.form-row {
    margin-bottom: 20px;
}

.form-row label {
    display: block;
    color: #374151;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-row input,
.form-row select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
    box-sizing: border-box;
}

.form-row input:focus,
.form-row select:focus {
    outline: none;
    border-color: #996515;
    box-shadow: 0 0 0 3px rgba(153, 101, 21, 0.1);
}

.dob-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
}

.pranava-add-profile-btn {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    border: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.pranava-add-profile-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.4);
}

/* Profile List in Modal */
#profiles-list {
    display: grid;
    gap: 16px;
}

.profile-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.profile-info h5 {
    color: #334155;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 4px;
}

.profile-info .profile-details {
    color: #64748b;
    font-size: 14px;
}

.profile-actions {
    display: flex;
    gap: 8px;
}

.profile-edit-btn,
.profile-delete-btn {
    padding: 6px 12px;
    border-radius: 8px;
    border: none;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.profile-edit-btn {
    background: #3b82f6;
    color: white;
}

.profile-edit-btn:hover {
    background: #2563eb;
}

.profile-delete-btn {
    background: #ef4444;
    color: white;
}

.profile-delete-btn:hover {
    background: #dc2626;
}

/* Animation Keyframes */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modal Open Body Style */
body.modal-open {
    overflow: hidden;
}

/* Additional Responsive Design */
@media (max-width: 768px) {
    .pranava-profile-manager-header {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    
    .dob-inputs {
        grid-template-columns: 1fr;
    }
    
    .pranava-modal-content {
        width: 95%;
        margin: 20px;
    }
    
    .pranava-create-profile-button {
        width: 100%;
        justify-content: center;
        max-width: 280px;
    }
    
    .profile-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .profile-actions {
        align-self: stretch;
        justify-content: space-between;
    }
}

/* Loading Spinner */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #a77c1b;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 8px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Loading Overlay */
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    border-radius: inherit;
}

.loading-overlay .loading-text {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

/* Loading States for Buttons */
.btn-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}

.btn-loading::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.btn-loading .btn-text {
    opacity: 0;
}

/* Container Loading State */
.container-loading {
    position: relative;
    min-height: 100px;
}

.container-loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

/* Step Loading Indicator */
.step-loading {
    text-align: center;
    padding: 40px 20px;
    color: #64748b;
}

.step-loading .loading-spinner {
    width: 32px;
    height: 32px;
    border-width: 3px;
    margin: 0 auto 16px;
    display: block;
}

/* Terms & Conditions Modal */
.pranava-terms-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999999;
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease;
}

.pranava-terms-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.pranava-terms-modal-content {
    background: white;
    border-radius: 16px;
    max-width: 900px;
    width: 100%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
    position: relative;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pranava-terms-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 2px solid #e2e8f0;
    background: linear-gradient(135deg, #b8860b 0%, #996515 100%);
    border-radius: 16px 16px 0 0;
}

.pranava-terms-modal-header h3 {
    margin: 0;
    color: white;
    font-size: 22px;
    font-weight: 700;
}

.pranava-terms-modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    color: white;
    font-size: 24px;
    line-height: 1;
    padding: 0;
}

.pranava-terms-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.pranava-terms-modal-body {
    padding: 32px;
    overflow-y: auto;
    flex: 1;
    color: #374151;
    line-height: 1.8;
}

.pranava-terms-modal-body h1,
.pranava-terms-modal-body h2,
.pranava-terms-modal-body h3,
.pranava-terms-modal-body h4 {
    color: #1f2937;
    margin-top: 24px;
    margin-bottom: 12px;
    font-weight: 700;
}

.pranava-terms-modal-body h1 {
    font-size: 28px;
    margin-top: 0;
}

.pranava-terms-modal-body h2 {
    font-size: 22px;
}

.pranava-terms-modal-body h3 {
    font-size: 18px;
}

.pranava-terms-modal-body p {
    margin-bottom: 16px;
    color: #4b5563;
}

.pranava-terms-modal-body ul,
.pranava-terms-modal-body ol {
    margin: 16px 0;
    padding-left: 24px;
}

.pranava-terms-modal-body li {
    margin-bottom: 8px;
    color: #4b5563;
}

.pranava-terms-modal-body strong {
    color: #1f2937;
    font-weight: 600;
}

.pranava-terms-modal-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 32px;
    color: #64748b;
}

.pranava-terms-modal-loading .loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #b8860b;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 16px;
}

.pranava-terms-modal-loading p {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
}

.pranava-terms-modal-error {
    padding: 32px;
    text-align: center;
    color: #dc2626;
}

.pranava-terms-modal-error p {
    margin: 0;
    font-size: 16px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .pranava-terms-modal-content {
        max-width: 100%;
        max-height: 95vh;
        margin: 10px;
        border-radius: 12px;
    }
    
    .pranava-terms-modal-header {
        padding: 20px 24px;
        border-radius: 12px 12px 0 0;
    }
    
    .pranava-terms-modal-header h3 {
        font-size: 18px;
    }
    
    .pranava-terms-modal-body {
        padding: 24px 20px;
    }
    
    .pranava-terms-modal-body h1 {
        font-size: 24px;
    }
    
    .pranava-terms-modal-body h2 {
        font-size: 20px;
    }
}
