/* Celebration Modal Styles - VasFlow Theme */

.celebration-card {
    background: linear-gradient(135deg, #6153F9 0%, #6f42c1 100%);
    border: none;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(97, 83, 249, 0.4);
    overflow: hidden;
    max-width: 400px;
    margin: 0 auto;
}

.profile-header {
    position: relative;
    height: 120px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.doctor-blob {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 5px solid white;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

.stars-container {
    display: flex;
    gap: 5px;
    justify-content: center;
    margin-bottom: 15px;
    animation: sparkle 2s ease-in-out infinite;
}

.star {
    font-size: 2rem;
    animation: starTwinkle 1.5s ease-in-out infinite alternate;
}

.main-star {
    font-size: 2.5rem;
    color: #FFD700;
    text-shadow: 0 0 10px #FFD700;
}

.congrats-title {
    color: white;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.congrats-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.streak-badge-celebration {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    padding: 12px 24px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-celebrate {
    background: linear-gradient(45deg, #28a745, #20c997);
    border: none;
    border-radius: 50px;
    padding: 14px 40px;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(40, 167, 69, 0.4);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-celebrate:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(40, 167, 69, 0.5);
    color: white;
}

@keyframes sparkle {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.8;
    }
}

@keyframes starTwinkle {
    0% {
        transform: scale(1) rotate(0deg);
        opacity: 0.7;
    }

    100% {
        transform: scale(1.2) rotate(10deg);
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 576px) {
    .celebration-card {
        margin: 0 20px;
        max-width: none;
    }

    .congrats-title {
        font-size: 1.6rem;
    }
}

/* Daily Health Check Stepper Styles */
.stepper-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stepper-step {
    display: flex;
    align-items: center;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
}

.stepper-step.completed {
    border-color: #28a745;
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
}

.stepper-step.locked {
    opacity: 0.5;
    background: #f8f9fa;
}

.step-header {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.step-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #007bff;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

.stepper-step.completed .step-number {
    background: #28a745;
}

.step-icon {
    font-size: 20px;
}

.done-mark {
    background: #28a745;
    color: white;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-left: auto;
}

.btn-step {
    background: #007bff;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.btn-step:hover {
    background: #0056b3;
    transform: translateY(-1px);
}

.btn-step.disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
}

.btn-step.disabled:hover {
    background: #6c757d;
}

.stepper-step.active {
    border-color: #007bff;
    background: linear-gradient(135deg, #cce7ff 0%, #b3d9ff 100%);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
}

.stepper-step.locked .step-number {
    background: #6c757d;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.stepper-step.active .step-header {
    animation: pulse 2s infinite;
}

/* Modal Styles - VasFlow Theme */
.btn-close-custom {
    background-color: #8088fd;
    color: white !important;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-close-custom:hover {
    background-color: #4c2cda;
    transform: scale(1.1);
}

.health-modal-header {
    border-bottom: 1px solid #eeeeee !important;
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#healthTab .nav-link {
    color: #6c757d;
    background: transparent;
    border: none;
    margin-right: 20px;
    padding: 10px 5px;
    font-weight: 500;
    position: relative;
    transition: color 0.3s;
}

#healthTab .nav-link.active {
    color: #6153F9;
    background: transparent;
}

#healthTab .nav-link.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #6153F9;
    border-radius: 2px;
}

.health-tab-content {
    padding: 25px;
    background: #ffffff;
    border-radius: 0 0 15px 15px;
}

.save-btn-custom {
    background-color: #6153F9;
    border: none;
    color: white;
    padding: 10px 25px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(97, 83, 249, 0.3);
}

.save-btn-custom:hover {
    background-color: #4e44d4;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(97, 83, 249, 0.4);
    color: white;
}

.progress-bar-colour {
    background-color: #6153F9;
    border-radius: 10px;
}

.btn-start-header {
    background-color: #6153F9;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(97, 83, 249, 0.2);
}

.btn-start-header:hover {
    background-color: #4e44d4;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(97, 83, 249, 0.3);
}

.btn-start-header:disabled {
    background-color: #e9ecef !important;
    border-color: #e9ecef !important;
    color: #adb5bd !important;
    cursor: not-allowed;
    opacity: 1;
    transform: none !important;
    box-shadow: none !important;
}

.header-progress-container {
    min-width: 280px;
}

.custom-progress-bar-header {
    height: 8px !important;
    background-color: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    flex-grow: 1;
}

.progress-label-header {
    font-size: 0.85rem;
    font-weight: 700;
    color: #6153F9;
    white-space: nowrap;
    min-width: 45px;
    text-align: right;
}

.dashboard-title-header {
    font-size: 0.95rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0;
    color: white;
}

/* Modal Form Styling */
.health-modal-header .modal-title {
    font-size: 1.25rem;
    color: #6153F9;
}

.health-tab-content .form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.health-tab-content .form-control,
.health-tab-content .form-select {
    border-radius: 8px;
    padding: 10px 15px;
    border: 1px solid #e0e0e0;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.health-tab-content .form-control:focus,
.health-tab-content .form-select:focus {
    border-color: #6153F9;
    box-shadow: 0 0 0 3px rgba(97, 83, 249, 0.1);
}

.health-tab-content .asterisk {
    color: #fd8080;
    margin-left: 4px;
}

.health-tab-content .form-group {
    margin-bottom: 20px;
}

.health-tab-content h6 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

/* Vitals Specific */
.cstmwidth {
    width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #adb5bd;
}

/* Medication Suggestions */
#medication_suggestions2 {
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #eee;
    margin-top: 5px;
}

#medication_suggestions2 .list-group-item {
    padding: 10px 15px;
    cursor: pointer;
    border-left: none;
    border-right: none;
}

#medication_suggestions2 .list-group-item:hover {
    background-color: #f8f9ff;
    color: #6153F9;
}

/* Activity Redesign Styles */
.activity-list-horizontal {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
    margin-bottom: 25px;
}

.activity-item-compact {
    display: flex;
    align-items: center;
    gap: 10px;
}

.activity-item-compact .btn-check {
    position: absolute;
    clip: rect(0,0,0,0);
    pointer-events: none;
}

.activity-radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #6153F9;
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-check:checked + .activity-item-content .activity-radio-custom::after {
    content: "";
    width: 10px;
    height: 10px;
    background-color: #6153F9;
    border-radius: 50%;
}

.activity-item-content {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.activity-icon-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.activity-label-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: #495057;
}

.intensity-segmented-control {
    display: flex;
    border: 1px solid #6153F9;
    border-radius: 6px;
    overflow: hidden;
    width: fit-content;
}

.intensity-segmented-control .btn-check {
    position: absolute;
    clip: rect(0, 0, 0, 0);
    pointer-events: none;
}

.intensity-segmented-control label {
    padding: 6px 20px;
    margin-bottom: 0;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    color: #6153F9;
    transition: all 0.2s;
    border-right: 1px solid #6153F9;
}

.intensity-segmented-control label:last-child {
    border-right: none;
}

.intensity-segmented-control .btn-check:checked + label {
    background-color: #6153F9;
    color: white;
}

.input-suffix-text {
    display: flex;
    align-items: center;
    padding-left: 10px;
    color: #6c757d;
    font-size: 0.9rem;
}

.distance-unit-group {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-left: 15px;
}

/* Intensity Selector Styles */
.intensity-container-modal {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.intensity-item-modal {
    flex: 0 0 auto;
    text-align: center;
}

.nav-link.disabled-tab {
    pointer-events: none;
    opacity: 0.6;
    cursor: not-allowed;
}

.intensity-label-modal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 4px 8px;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
    min-width: 45px;
}

.intensity-item-modal input[type="radio"]:checked + .intensity-label-modal {
    border-color: #6153F9;
    background: #fff;
    box-shadow: none;
}

.intensity-emoji-modal {
    font-size: 1.1rem;
}

.intensity-value-modal {
    font-size: 0.85rem;
    font-weight: 700;
    color: #495057;
}

.intensity-item-modal input[type="radio"]:checked + .intensity-label-modal .intensity-value-modal {
    color: #6153F9;
}

/* Pain Canvas Refinements */
.canvas-header-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 5px;
}

.canvas-instruction {
    font-size: 0.85rem;
    font-weight: 700;
    color: #444;
    text-align: right;
    margin-bottom: 15px;
}

.btn-clear-canvas {
    background-color: #6153F9;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    transition: all 0.2s;
    box-shadow: 0 4px 10px rgba(97, 83, 249, 0.2);
}

.btn-clear-canvas:hover {
    background-color: #4e44d4;
    color: white;
}

.body-diagram-img {
    width: 210px;
    height: 500px;
    object-fit: contain;
    opacity: 0.9;
}

.canvas-label {
    font-weight: 800;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    display: block;
    font-size: 0.9rem;
}

.walk-distance-container {
    display: flex;
    gap: 15px;
    align-items: center;
}

.walk-distance-container .form-control {
    flex: 1;
}

.walk-distance-container .form-select {
    width: 140px;
}

.pain-checkbox-group, .pain-radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 10px;
}

.checkbox-item-custom, .radio-item-custom {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.checkbox-item-custom input[type="checkbox"], .radio-item-custom input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: #6153F9;
    cursor: pointer;
}

.checkbox-label-custom, .radio-label-custom {
    font-size: 0.95rem;
    font-weight: 500;
    color: #444;
    margin: 0;
    cursor: pointer;
}

/* Pain Canvas Styles */
.canvas-container-modal {
    background: #f8f9fa;
    border-radius: 15px;
    border: 1px solid #e9ecef;
    padding: 15px;
}

.canvas-wrapper {
    background: white;
    border-radius: 10px;
    padding: 10px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}

.canvas-label {
    font-weight: 700;
    color: #495057;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    display: block;
}

/* Medication Tab Specific Styles */
.dosage-container-modal {
    display: flex;
    align-items: center;
    gap: 15px;
}

.med-radio-group {
    display: flex;
    gap: 20px;
    align-items: center;
}

.med-radio-item {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.med-radio-item input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #6153F9;
}

.med-radio-label {
    font-size: 0.9rem;
    color: #495057;
    margin: 0;
    cursor: pointer;
}

.frequency-container-modal {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 10px;
}

.btn-submit-modal {
    background-color: #6153F9;
    border: none;
    color: white;
    padding: 10px 30px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-submit-modal:hover {
    background-color: #4e44d4;
    color: white;
    transform: translateY(-1px);
}

.btn-cancel-modal {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    color: #495057;
    padding: 10px 25px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-cancel-modal:hover {
    background-color: #e9ecef;
}

.datetime-input-modal {
    position: relative;
}

.datetime-input-modal i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #adb5bd;
    pointer-events: none;
}

.modal-footer-custom {
    padding: 20px 0px;
    display: flex;
    justify-content: flex-start;
    gap: 12px;
}

.hidden {
    display: none !important;
}


