﻿.mobile-preview-wrapper {
    display: flex;
    justify-content: center;
    padding: 20px;
}

.mobile-frame {
    
    width: 340px;
    max-width: 125%;
    height: 150vh;
    max-height: 740px;
    background: #c5d0dc;
    border-radius: 40px;
    padding: 1px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.35);
    position: relative;
}

    .mobile-frame::before {
        content: "";
        position: absolute;
        top: 6px;
        left: 50%;
        transform: translateX(-50%);
        width: 120px;
        height: 6px;
        background: #222;
        border-radius: 10px;
    }

.mobile-screen {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #f8f9fa;
    border-radius: 40px;
    overflow: hidden; /* IMPORTANT */
}

/* ===== Card ===== */

/* ===== Header: Soft Radial Gradient ===== */

.digital-header1 {
    background: linear-gradient(to bottom, #87CEEB 0%, rgba(255, 255, 255, 0) 100%);
    height: 180px; /* Increased height to match the second image profile */
    border-top-left-radius: 40px; /* Matching the rounded frame */
    border-top-right-radius: 40px;
}

/* ===== Footer: Clean White Minimalist ===== */
.digital-footer {
    padding: 20px 10px;
}

/* ===== Profile Picture Adjustment ===== */
.avatar-img1 {
    width: 130px;
    height: 130px;
    margin-top: -175px; /* Centers the photo exactly on the gradient edge */
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08); /* Soft shadow like the sample */
}


/* ===== Utility ===== */
.img-nontouch1 {
    text-align: center;
    touch-action: none;
}

.img-nontouch2 {
    touch-action: none;
    max-width: 400px;
    text-align: center;
    width: 14.25rem;
    margin-bottom: -5rem;
    height: 13.25rem;
    margin-top: 20px;
    position: relative;
    z-index: 5; /* brings image above gradient */
}



.digital-header2 {
    position: relative;
    padding: 2rem 1.25rem 0;
    width: 100%;
    background: linear-gradient(to bottom, #87CEEB 0%, rgba(255, 255, 255, 0) 100%);
    height: 180px;
    color: #fff;
    text-align: center;
    background-size: cover;
    margin-bottom: -5rem;
    padding-top: 2rem;
    padding-bottom: 5rem;
    z-index: 1;
}


.avatar-img2 {
    width: 150px;
    height: 150px;
    margin-top: -40px; /* Centers the photo exactly on the gradient edge */
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08); /* Soft shadow like the sample */
    background-color: #fff;
}


.card {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
}

    .card > div:first-of-type {
        flex: 1;
    }
.card-content {
    min-height: 10vh !important;
}
/*.card-footer {
    margin-bottom: 0 !important;
    position: relative;
    z-index: 2;
}*/
/* ===== Action List ===== */
.action-item {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 12px;
    padding: 10px 12px;
    margin-bottom: 10px;
    text-decoration: none;
    color: #212529;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transition: all 0.2s ease-in-out;
}

    .action-item:hover {
        transform: translateY(-1px);
        text-decoration: none !important;
        box-shadow: 0 6px 16px rgba(0,0,0,0.1);
    }

/* Icon box */
.action-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    margin-right: 12px;
}

/* Text */
.action-text {
    flex: 1;
}

    .action-text strong {
        display: block;
        font-size: 15px;
    }

    .action-text small {
        color: #6c757d;
        font-size: 13px;
    }

/* Arrow */
.action-arrow {
    color: #adb5bd;
    font-size: 14px;
}

.action-list {
    padding: 0 16px;
    margin-top: 12px; /* was too loose */
}
/* ===== Powered By Footer (Like Sample Image) ===== */
.powered-footer {
    background: transparent;
    border-top: none;
    padding: 12px 0 38px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}


    .powered-footer a {
        color: #6c757d;
        text-decoration: none;
        font-weight: 500;
    }

   
