/* ==========================================================================
   1. GLOBAL LAYOUT AND WRAPPERS
   ========================================================================== */
body .casMyAccountPageWrapper {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    background-color: #f7f9fc;
    border-radius: 0;
    box-shadow: none;
}

body .casPageHeader {
    background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
    color: #ffffff;
    padding: 80px 20px;
    text-align: center;
    border-bottom: 4px solid #3b82f6;
    /* Blue highlight */
}

body .casPageHeader h1 {
    margin: 0;
    font-size: 32px;
    font-weight: 700;
    text-transform: uppercase;
    color: #ffffff;
}

body .casPageHeader .casPageDescription {
    margin: 15px auto 0;
    font-size: 18px;
    opacity: 0.85;
    max-width: 600px;
    font-weight: 400;
    line-height: 1.6;
    color: #e5e7eb;
}

body .casHeaderBackBtn {
    margin-top: 25px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
}

body .casHeaderBackBtn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

body .casHeaderBackBtn:active {
    transform: translateY(0);
}

body .casHeaderBackBtn i {
    font-size: 12px;
}


body .casPageContent {
    max-width: 740px;
    margin: 0 auto;
    margin-top: -20px;
    padding: 50px;
    background-color: #ffffff;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.03);
    /* Subtle app-like overlap */
    min-height: calc(100vh - 120px);
}

@media (max-width: 768px) {
    body .casPageContent {
        padding: 40px 20px;
    }
}

/* ==========================================================================
   2. REUSABLE COMPONENTS
   ========================================================================== */

/* --- TYPOGRAPHY AND ELEMENTS --- */
body .casSectionTitle {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 15px;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 10px;
}

/* --- FORMS AND INPUTS --- */
body form.casModernForm {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin: 0 auto;
}

body .casFormGroup {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

body .casFormGroup label {
    font-weight: 600;
    color: #374151;
    font-size: 15px;
}

body .casFormGroup input[type=text] {
    padding: 16px;
    font-size: 22px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    text-align: center;
    letter-spacing: 6px;
    transition: all 0.3s ease;
    background-color: #f9fafb;
    color: #111827;
    font-weight: 700;
}

body .casFormGroup input[type=text]:focus {
    outline: none;
    border-color: #3b82f6;
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}

/* --- BUTTONS & ACTIONS --- */
body button.casSubmitBtn {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
    border: none;
    padding: 16px 20px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
    margin-top: 10px;
}

body button.casSubmitBtn:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
    transform: translateY(-2px);
}

body button.casSubmitBtn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

body button.casSubmitBtn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

body .casActions {
    margin-top: 20px;
}

body .casButton {
    display: inline-block;
    padding: 16px 32px;
    font-size: 17px;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

body .casPrimaryBtn {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

body .casPrimaryBtn:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
    transform: translateY(-3px);
    color: #ffffff !important;
}

body .casPrimaryBtn:active {
    transform: translateY(0);
}

body .casActionBtn {
    width: 100%;
    padding: 8px 10px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

body .casActionBtn.casProfileBtn {
    background: #eff6ff;
    color: #2563eb;
    border-color: #bfdbfe;
}

body .casActionBtn.casProfileBtn:hover {
    background: #dbeafe;
    color: #1d4ed8;
}

body .casActionBtn.casDeleteBtn {
    background: #fef2f2;
    color: #ef4444;
    border-color: #fecaca;
}

body .casActionBtn.casDeleteBtn:hover {
    background: #fee2e2;
    color: #b91c1c;
}

body .casDangerSection {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px dashed #e5e7eb;
}

body .casDeleteProfileBtn {
    background: transparent;
    color: #ef4444;
    border: 2px solid #ef4444;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

body .casDeleteProfileBtn:hover {
    background: #ef4444;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25);
}

/* --- FEEDBACK & MESSAGES --- */
body .casMessage {
    font-size: 15px;
    text-align: center;
    min-height: 20px;
    display: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 500;
}

body .casMessage.error {
    color: #b91c1c;
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    display: block;
}

body .casMessage.success {
    color: #047857;
    background-color: #ecfdf5;
    border: 1px solid #a7f3d0;
    display: block;
}

/* --- UPLOAD COMPONENTS --- */
body .casUploadGroup {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 8px;
}

body .casUploadLabel {
    font-weight: 600;
    color: #374151;
    font-size: 15px;
}

body .casUploadArea {
    position: relative;
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    background-color: #f9fafb;
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 160px;
}

body .casUploadArea:hover,
body .casUploadArea.casDragover {
    border-color: #3b82f6;
    background-color: #eff6ff;
}

body .casUploadArea.casHasFile {
    border-style: solid;
    border-color: #2563eb;
    background-color: #ffffff;
    padding: 10px;
}

body .casUploadInput {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 10;
}

body .casUploadPlaceholder {
    color: #6b7280;
    pointer-events: none;
    transition: all 0.3s ease;
}

body .casUploadIcon {
    font-size: 32px;
    margin-bottom: 10px;
    display: block;
}

body .casUploadPreview {
    display: none;
    width: 100%;
    max-height: 250px;
    object-fit: contain;
    border-radius: 8px;
    pointer-events: none;
}

body .casUploadArea.casHasFile .casUploadPlaceholder {
    display: none;
}

body .casUploadArea.casHasFile .casUploadPreview {
    display: block;
}

/* --- MULTIPLE PHOTOS GRID (REGISTER PHOTOS) --- */
body .casUploadArea.casUploadMultipleArea {
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

body .casUploadArea.casHasMultipleFiles {
    padding-top: 20px;
}

body .casUploadArea.casHasMultipleFiles .casUploadPlaceholder {
    margin-bottom: 15px;
}

body .casPhotosPreviewGrid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    width: 100%;
}

body .casPhotoPreviewItem {
    position: relative;
    width: 80px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 20;
    pointer-events: auto;
}

body .casPhotoPreviewItem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

body .casRemovePhotoBtn {
    position: absolute;
    top: 4px;
    right: 4px;
    background: rgba(185, 28, 28, 0.85);
    color: white;
    border: none;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    z-index: 30;
}

body .casRemovePhotoBtn:hover {
    background: rgba(185, 28, 28, 1);
    transform: scale(1.1);
}

/* --- ACCORDIONS --- */
body .casAccordion {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    margin-bottom: 24px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

body .casAccordionHeader {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: #f9fafb;
    transition: background-color 0.3s ease;
    user-select: none;
}

body .casAccordionHeader:hover {
    background: #f3f4f6;
}

body .casAccordionTitle {
    margin: 0 !important;
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

body .casAccordionIcon {
    font-size: 16px;
    color: #6b7280;
    transition: transform 0.3s ease;
}

body .casAccordionContent {
    padding: 24px;
    border-top: 1px solid #e5e7eb;
    display: block;
}

body .casAccordion.casAccordionClosed .casAccordionContent {
    display: none;
}

body .casAccordion.casAccordionClosed .casAccordionIcon {
    transform: rotate(180deg);
}

/* --- EMPTY STATES --- */
body .casEmptyState {
    text-align: center;
    padding: 60px 20px;
    background: #f9fafb;
    border: 2px dashed #e5e7eb;
    border-radius: 16px;
    color: #6b7280;
}

body .casEmptyState i,
body .casEmptyState svg {
    font-size: 48px;
    color: #9ca3af;
    margin-bottom: 16px;
}

body .casEmptyState p {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
}

/* ==========================================================================
   3. BOOTSTRAP FORM STYLES (BASE FRONTEND)
   ========================================================================== */
body form.casBootstrapForm {
    width: 100%;
}

/* Estilo alinhado ao projeto para os inputs do bootstrap */
body form.casBootstrapForm .form-control,
body form.casBootstrapForm .form-select {
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px 14px;
    color: #111827;
    font-size: 15px;
    transition: all 0.3s ease;
}

body form.casBootstrapForm .form-control:focus,
body form.casBootstrapForm .form-select:focus {
    background-color: #ffffff;
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
    outline: none;
}

body form.casBootstrapForm .form-label {
    color: #374151;
    font-size: 15px;
    margin-bottom: 6px;
}

body form.casBootstrapForm .form-check {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    /* Espaçamento entre as opções */
    padding-left: 0;
}

body form.casBootstrapForm .form-check-input {
    margin-top: 0;
    margin-right: 12px;
    margin-left: 0;
    float: none;
    flex-shrink: 0;
}

body form.casBootstrapForm .form-check-input:checked {
    background-color: #3b82f6;
    border-color: #3b82f6;
}

body form.casBootstrapForm .form-check-input:focus {
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}

body form.casBootstrapForm .form-check-label {
    cursor: pointer;
    line-height: 1.2;
}

/* ==========================================================================
   4. PAGE SPECIFIC STYLES
   ========================================================================== */

/* --- MY ACCOUNT HOME PAGE --- */
body .casWelcomeSection {
    margin-bottom: 30px;
}

body .casWelcomeSection h2 {
    font-size: 26px;
    font-weight: 800;
    color: #111827;
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

body .casWelcomeSection p {
    font-size: 16px;
    color: #6b7280;
    margin: 0;
}

body .casWelcomeFlex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
}

body .casViewProfileBtn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #ffffff !important;
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
    flex-shrink: 0;
}

body .casViewProfileBtn:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.3);
}

@media (max-width: 600px) {
    body .casWelcomeFlex {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    body .casViewProfileBtn {
        width: 100%;
        justify-content: center;
    }
}

body .casNotificationsSection {
    margin-bottom: 30px;
    display: grid;
    gap: 20px;
}

body .casNotificationCard {
    display: flex;
    gap: 16px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 16px;
    padding: 20px;
    align-items: flex-start;
}

body .casNotificationCard.casWarning {
    background: #fff7ed;
    border-color: #ffedd5;
}

body .casNotificationCard.casWarning .casNotificationContent h4 {
    color: #9a3412;
}

body .casNotificationCard.casWarning .casNotificationContent p {
    color: #c2410c;
}

body .casNotificationIcon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f59e0b;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

body .casNotificationIcon.casWarningIcon {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
}

body .casNotificationContent h4 {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 700;
    color: #92400e;
}

body .casNotificationContent p {
    margin: 0 0 12px;
    font-size: 14px;
    color: #b45309;
    line-height: 1.5;
}

body .casNotificationBtn {
    display: inline-block;
    background: #d97706;
    color: #ffffff !important;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

body .casNotificationBtn:hover {
    background: #b45309;
    transform: translateY(-2px);
}

body .casPlanSection {
    margin-bottom: 30px;
}

body .casActivePlanCard {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    border-radius: 20px;
    padding: 24px;
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(30, 58, 138, 0.2);
    position: relative;
    overflow: hidden;
}

body .casActivePlanHeader {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

body .casPlanIcon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fbbf24;
}

body .casPlanTitle h3 {
    margin: 0 0 4px;
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
}

body .casPlanStatus {
    display: inline-block;
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.4);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

body .casPlanDetailsText p {
    margin: 0;
    font-size: 15px;
    color: #bfdbfe;
}

body .casPlanDetailsText strong {
    color: #ffffff;
}

/* Upgrade Card */
body .casPlanUpgradeCard {
    margin-top: 20px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-left: 5px solid #3b82f6;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

body .casPlanUpgradeContent {
    flex: 1;
}

body .casPlanUpgradeContent h4 {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 700;
    color: #111827;
}

body .casPlanUpgradeContent p {
    margin: 0;
    font-size: 14px;
    color: #4b5563;
    line-height: 1.5;
}

body .casUpgradeBtn {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #ffffff !important;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
    white-space: nowrap;
}

body .casUpgradeBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(37, 99, 235, 0.3);
}

@media (max-width: 600px) {
    body .casPlanUpgradeCard {
        flex-direction: column;
        text-align: center;
        padding: 24px 20px;
    }

    body .casUpgradeBtn {
        width: 100%;
    }
}

body .casNavSection {
    margin-bottom: 40px;
}

body .casNavGrid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

/* --- PLAN DAYS SELECTOR --- */
body .casPlanDaysSelector {
    margin-bottom: 20px;
}

body .casPlanDaysSelector label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #898f97;
    margin-bottom: 8px;
    text-align: center;
}

body .casPlanDaysSelector .casPlanDaysValue {
    font-weight: 800;
    color: #333333;
    font-size: 16px;
}

body .casPlanDaysSlider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    background: #0e22d626;
    border-radius: 8px;
    outline: none;
    transition: background 0.3s ease;
}

body .casPlanDaysSlider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #3924fb;
    cursor: pointer;
    box-shadow: 0 2px 6px #adb4f526;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body .casPlanDaysSlider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 10px #384cff26;
}

body .casPlanDaysSlider::-webkit-slider-thumb:active {
    transform: scale(0.95);
}

body .casPlanDaysSlider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border: none;
    border-radius: 50%;
    background: #3924fb;
    cursor: pointer;
    box-shadow: 0 2px 6px #adb4f526;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body .casPlanDaysSlider::-moz-range-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 10px #384cff26;
}

body .casNavCard {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 24px 16px;
    text-align: center;
    text-decoration: none;
    color: #374151;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

body .casNavCard:hover {
    border-color: #3b82f6;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.1);
    transform: translateY(-4px);
    color: #1d4ed8;
}

body .casNavIcon {
    font-size: 28px;
    color: #3b82f6;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

body .casNavCard:hover .casNavIcon {
    color: #1d4ed8;
}

body .casNavCard span {
    display: block;
    font-size: 15px;
    font-weight: 600;
}

@media (max-width: 480px) {
    body .casNavGrid {
        grid-template-columns: 1fr;
    }
}

/* --- USER PHOTOS GRID --- */
body .casUserPhotosGrid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

body .casUserPhotoCard {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

body .casUserPhotoCard:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
    transform: translateY(-2px);
}

body .casUserPhotoImgWrapper {
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #f9fafb;
    position: relative;
}

body .casUserPhotoImg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

body .casUserPhotoCard:hover .casUserPhotoImg {
    transform: scale(1.05);
}

body .casUserPhotoActions {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #ffffff;
}

body .casActionBtn.casCoverBtn {
    background: #f0fdf4;
    color: #16a34a;
    border-color: #bbf7d0;
}

body .casActionBtn.casCoverBtn:hover {
    background: #dcfce7;
    color: #15803d;
}

/* --- PHOTO BADGES --- */
body .casPhotoBadge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 5;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

body .casProfileBadge {
    background: #3b82f6;
    color: #ffffff;
}

body .casCoverBadge {
    background: #16a34a;
    color: #ffffff;
    /* If both badges exist, move cover one down */
}

body .casIsProfile.casIsCover .casCoverBadge {
    top: 38px;
}

/* --- HIGHLIGHT FOR SELECTED PHOTOS --- */
body .casUserPhotoCard.casIsProfile {
    border-color: #3b82f6;
    background: #eff6ff;
}

body .casUserPhotoCard.casIsCover {
    border-color: #16a34a;
}

body .casUserPhotoCard.casIsProfile.casIsCover {
    border-color: #3b82f6;
    /* Profile takes precedence for border color if both */
}

@media (max-width: 480px) {
    body .casUserPhotosGrid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- USER VIDEOS LIST --- */
body .casUserVideosList {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

body .casUserVideoCard {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
}

body .casUserVideoIframeWrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    position: relative;
    overflow: hidden;
}

body .casUserVideoIframeWrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

body .casUserVideoActions {
    padding: 16px;
    display: flex;
    justify-content: flex-end;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
}

body .casUserVideoActions .casActionBtn {
    width: auto;
    padding: 10px 20px;
    margin-left: 10px;
}

/* --- PLAN SELECTION PAGE --- */
body .casPlansGrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 30px;
}

body .casPlanCard {
    display: block;
}

body .casPlanCardInner {
    padding: 35px 24px;
    border-radius: 20px;
    background-color: #ffffff;
    border: 2px solid #f3f4f6;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.02);
}

body .casPlanCardInner:hover {
    border-color: var(--plan-color, #3b82f6);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

body .casPlanCardInner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background-color: var(--plan-color, #3b82f6);
    opacity: 1;
}

body .casPlanTitle {
    font-size: 26px;
    font-weight: 800;
    color: #111827;
    margin: 0 0 10px;
    letter-spacing: -0.5px;
}

body .casPlanDetails {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

body .casPlanDescription {
    font-size: 15px;
    color: #6b7280;
    margin: 0 0 20px;
    line-height: 1.5;
}

body .casPlanHighlights {
    list-style: none;
    padding: 0;
    margin: 25px 0 30px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

body .casHighlightItem {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: #4b5563;
    line-height: 1.4;
    font-weight: 500;
    padding: 10px 14px;
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

body .casHighlightItem:nth-child(odd) {
    background-color: #f0f7ff;
    /* Soft blue background for zebra effect */
}

body .casHighlightIcon {
    font-size: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}

body .casHighlightText {
    flex-grow: 1;
}

body .casPlanPrice {
    font-size: 40px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 25px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 6px;
    letter-spacing: -1px;
}

body .casCurrency {
    font-size: 18px;
    font-weight: 700;
    color: #9ca3af;
}

body .casSelectPlanBtn {
    margin-top: auto;
}

body .casActivePlanIndicator {
    margin-top: auto;
    background: #ecfdf5;
    color: #059669;
    border: 2px solid #10b981;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

body .casActivePlanIndicator i {
    font-size: 18px;
}

/* --- REGISTRATION SUCCESS PAGE --- */
body .casSuccessContainer {
    text-align: center;
    padding: 20px 0;
}

body .casSuccessIcon {
    font-size: 80px;
    color: #10b981;
    /* Success Green */
    margin-bottom: 24px;
    filter: drop-shadow(0 4px 10px rgba(16, 185, 129, 0.2));
}

body .casSuccessTitle {
    font-size: 28px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 12px;
}

body .casSuccessMessage {
    font-size: 16px;
    color: #4b5563;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto 40px;
}

body .casVerificationRecommendation {
    background: #f0f7ff;
    border: 2px solid #e0efff;
    border-radius: 20px;
    padding: 30px;
    display: flex;
    gap: 20px;
    align-items: center;
    text-align: left;
    margin-bottom: 40px;
}

@media (max-width: 640px) {
    body .casVerificationRecommendation {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
    }
}

body .casRecommendationIcon {
    font-size: 32px;
    color: #3b82f6;
    background: #ffffff;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

body .casRecommendationContent {
    flex-grow: 1;
}

body .casRecommendationTitle {
    font-size: 18px;
    font-weight: 700;
    color: #1e40af;
    margin: 0 0 8px;
}

body .casRecommendationText {
    font-size: 14px;
    color: #374151;
    line-height: 1.5;
    margin: 0 0 15px;
}

body .casVerificationLink {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2563eb;
    font-weight: 700;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.2s ease;
}

body .casVerificationLink:hover {
    color: #1d4ed8;
    gap: 12px;
}

/* --- MY ACCOUNT VERIFICATION PAGE --- */
body .casVerificationIntro {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px;
    background: #eff6ff;
    border-radius: 20px;
    border: 1px solid #dbeafe;
}

body .casVerificationBadge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #3b82f6;
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3);
}

body .casVerificationText {
    font-size: 16px;
    color: #374151;
    line-height: 1.6;
    margin: 0;
    max-width: 600px;
    margin: 0 auto;
}

body .casVerificationInstructions {
    margin-bottom: 40px;
}

body .casInstructionTitle {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

body .casInstructionGrid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

body .casInstructionCard {
    display: flex;
    gap: 20px;
    background: #f9fafb;
    padding: 24px;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

body .casInstructionCard:hover {
    border-color: #3b82f6;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

body .casInstructionIcon {
    font-size: 32px;
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

body .casInstructionInfo h4 {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 700;
    color: #111827;
}

body .casInstructionInfo p {
    margin: 0;
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
}

body .casPlateList {
    margin: 12px 0 0;
    padding: 12px 16px;
    list-style: none;
    background: #fff;
    border-radius: 8px;
    border-left: 4px solid #3b82f6;
    font-size: 14px;
}

body .casPlateList li {
    margin-bottom: 6px;
    color: #374151;
}

body .casPlateList li:last-child {
    margin-bottom: 0;
}

body .casPlateList strong {
    color: #2563eb;
}

body .casFormNote {
    margin-top: 15px;
    font-size: 13px;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
}

body .casFormNote i {
    color: #3b82f6;
}

/* --- MY ACCOUNT FOOTER --- */
body .casFooterWrapper {
    margin-top: 50px;
    padding: 0 20px;
}

body .casFooterDivider {
    max-width: 600px;
    height: 1px;
    background: linear-gradient(to right, transparent, #e5e7eb, transparent);
    margin: 0 auto 50px;
}

body .casFooterContent {
    max-width: 600px;
    margin: 0 auto;
    padding-bottom: 50px;
}

body .casSupportContainer {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #f3f4f6;
    text-align: center;
    margin-bottom: 40px;
}

body .casSupportTitle {
    font-size: 22px;
    font-weight: 800;
    color: #111827;
    margin: 0 0 12px;
}

body .casSupportText {
    font-size: 15px;
    color: #6b7280;
    margin: 0 0 30px;
    line-height: 1.6;
}

body .casSupportBtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #ffffff !important;
    padding: 16px 32px;
    font-size: 17px;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}

body .casSupportBtn i {
    font-size: 22px;
}

body .casSupportBtn:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    opacity: 1;
    color: #ffffff !important;
}

body .casSupportBtn:active {
    transform: translateY(-1px);
}

/* --- CODE VERIFICATION PAGE --- */
body .casCodeVerificationHeader {
    text-align: center;
    margin-bottom: 30px;
}

body .casCodeVerificationHeader p {
    color: #6b7280;
    font-size: 16px;
    margin-bottom: 5px;
}

body .casCurrentWhatsapp {
    font-size: 20px;
    color: #3b82f6;
    font-weight: 700;
}

body .casUpdateFlow {
    text-align: center;
}

body .casUpdateFlow p {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 8px;
}

body .casLinkBtn {
    background: none;
    border: none;
    color: #3b82f6;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    text-decoration: underline;
    transition: color 0.2s ease;
    padding: 5px;
}

body .casLinkBtn:hover {
    color: #2563eb;
    text-decoration: underline;
    background: none;
}

body .casUpdateFieldWrapper {
    margin-top: 20px;
    padding: 20px;
    background: #f9fafb;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    animation: casFadeIn 0.3s ease-out;
}

body .casFieldHint {
    font-size: 12px;
    color: #9ca3af;
    margin-top: 4px;
    display: block;
}

@keyframes casFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}