/* Avyukt Dental Appointment System Styles */

.avyukt-dental-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 50%, #fecaca 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.screen {
    display: none;
    width: 100%;
    max-width: 800px;
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    animation: fadeIn 0.3s ease;
}

.screen.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-wrapper {
    padding: 40px 30px;
}

@media (min-width: 768px) {
    .content-wrapper {
        padding: 60px 50px;
    }
}

.header-section {
    text-align: center;
    margin-bottom: 40px;
}

.emoji-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.main-title {
    font-size: 36px;
    font-weight: 700;
    background: linear-gradient(135deg, #ec4899, #db2777);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

@media (max-width: 767px) {
    .main-title {
        font-size: 28px;
    }
}

.subtitle {
    color: #6b7280;
    font-size: 18px;
    margin: 0;
}

.screen-title {
    font-size: 32px;
    font-weight: 700;
    color: #1f2937;
    margin: 20px 0 10px;
}

@media (max-width: 767px) {
    .screen-title {
        font-size: 24px;
    }
}

.options-grid {
    display: grid;
    gap: 16px;
}

.option-btn {
    width: 100%;
    padding: 24px;
    background: linear-gradient(135deg, #ec4899, #db2777);
    color: white;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.3);
}

.option-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(236, 72, 153, 0.4);
    background: linear-gradient(135deg, #db2777, #be185d);
}

.option-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.big-icon {
    width: 64px;
    height: 64px;
    color: #ec4899;
    margin: 0 auto 20px;
}

.option-text {
    text-align: left;
}

.option-title {
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 4px;
}

.option-desc {
    font-size: 14px;
    opacity: 0.9;
}

.option-number {
    font-size: 32px;
}

.button-group {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.primary-btn {
    flex: 1;
    padding: 16px;
    background: linear-gradient(135deg, #ec4899, #db2777);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.primary-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #db2777, #be185d);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(236, 72, 153, 0.4);
}

.primary-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.secondary-btn {
    padding: 16px 24px;
    background: #e5e7eb;
    color: #374151;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.secondary-btn:hover {
    background: #d1d5db;
}

.form-input {
    width: 100%;
    padding: 16px;
    border: 2px solid #fbcfe8;
    border-radius: 12px;
    font-size: 18px;
    margin-bottom: 24px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-input:focus {
    outline: none;
    border-color: #ec4899;
}

.input-help {
    color: #6b7280;
    font-size: 14px;
    margin-top: -16px;
    margin-bottom: 24px;
}

.treatment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

@media (min-width: 768px) {
    .treatment-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.treatment-btn {
    padding: 16px;
    background: #fce7f3;
    color: #be185d;
    border: 2px solid transparent;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.treatment-btn:hover {
    background: #fbcfe8;
}

.treatment-btn.selected {
    background: linear-gradient(135deg, #ec4899, #db2777);
    color: white;
    border-color: #db2777;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.3);
}

.text-center {
    text-align: center;
}

.success-icon {
    width: 96px;
    height: 96px;
    color: #10b981;
    margin: 0 auto 24px;
}

.success-details {
    background: #fce7f3;
    border-radius: 16px;
    padding: 24px;
    margin: 24px 0;
}

.success-intro {
    font-size: 18px;
    color: #374151;
    margin-bottom: 16px;
}

.detail-item {
    color: #1f2937;
    margin: 8px 0;
    font-size: 16px;
}

.detail-item strong {
    color: #db2777;
}

.timings-container {
    display: grid;
    gap: 16px;
    margin-bottom: 24px;
}

@media (min-width: 768px) {
    .timings-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

.timing-card {
    background: white;
    border: 2px solid #fbcfe8;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
}

.timing-card.full-width {
    grid-column: 1 / -1;
}

.timing-label {
    color: #ec4899;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 8px;
}

.timing-value {
    color: #1f2937;
    font-size: 28px;
    font-weight: 700;
    margin: 8px 0;
}

.timing-note {
    color: #6b7280;
    margin-top: 8px;
}

.location-card {
    background: linear-gradient(135deg, #fce7f3, #fbcfe8);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 24px;
}

.location-title {
    color: #ec4899;
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 16px;
}

.location-text {
    color: #1f2937;
    font-size: 18px;
    line-height: 1.8;
    margin: 0 0 12px 0;
}

.location-landmark {
    color: #6b7280;
    margin: 12px 0 20px;
}

.map-btn {
    display: block;
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    text-align: center;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.map-btn:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.charges-list {
    margin-bottom: 24px;
}

.charge-item {
    background: linear-gradient(135deg, #fce7f3, #fbcfe8);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.charge-name {
    color: #1f2937;
    font-weight: 700;
    font-size: 20px;
}

.charge-price {
    color: #ec4899;
    font-size: 28px;
    font-weight: 700;
}

.info-box {
    background: #dbeafe;
    border: 2px solid #93c5fd;
    border-radius: 12px;
    padding: 16px;
    color: #1e40af;
    text-align: center;
    margin-bottom: 24px;
}

.form-textarea {
    width: 100%;
    min-height: 160px;
    padding: 16px;
    border: 2px solid #fbcfe8;
    border-radius: 12px;
    font-size: 16px;
    font-family: inherit;
    resize: vertical;
    margin-bottom: 24px;
    box-sizing: border-box;
}

.form-textarea:focus {
    outline: none;
    border-color: #ec4899;
}

.loading-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.loading-overlay.active {
    display: flex;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #fce7f3;
    border-top-color: #ec4899;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-bottom: 16px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-overlay p {
    color: white;
    font-size: 18px;
    font-weight: 600;
}
.time-slots-container {
    margin-bottom: 24px;
}

.session-label {
    color: #ec4899;
    font-weight: 700;
    font-size: 18px;
    margin: 20px 0 12px;
}

.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .time-slots-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.time-slot-btn {
    padding: 16px 12px;
    background: #fce7f3;
    color: #be185d;
    border: 2px solid transparent;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.time-slot-btn:hover {
    background: #fbcfe8;
}

.time-slot-btn.selected {
    background: linear-gradient(135deg, #ec4899, #db2777);
    color: white;
    border-color: #db2777;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.3);
}
#add-to-calendar {
    background: linear-gradient(135deg, #10b981, #059669);
}

#add-to-calendar:hover {
    background: linear-gradient(135deg, #059669, #047857);
}