body{
    background:#f4f6fb;
        display: flex;
    flex-direction: column;
}
.upload-box{
    border:2px dashed #bbb9c8;
    padding:40px;
    border-radius:14px;
    background:#fff;
    text-align:center;
    cursor:pointer;
}
.upload-box.dragover {
    border-color: #198754;
    background: #f0fff7;
}

.crop-wrapper{
    max-width:500px;
    margin:auto;
    position: relative;
}

#downloadBtn:disabled {
    opacity: 0.8;
    cursor: not-allowed;
}


#preview{
    max-width:100%;
    display:block;
}
.badge{
    font-size:14px;
}
.helper-text{
    font-size:13px;
    color:#666;
}
.crop-wrapper{
    width: 900px;          /* FIXED WIDTH */
    max-width: 100%;       /* responsive fallback */
    margin: auto;
}

html, body {
    height: 100%;
    margin: 0;
}
 
.page-wrapper {
    flex: 1;                 /* fills remaining height */
    display: flex;
    flex-direction: column;
}

/* main content grows */
.page-wrapper > .container {
    flex: 1;
}


.zoom-controls {
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 20;
}

.zoom-controls button {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 16px;
    line-height: 1;
    padding: 0;
} 



.welcome-box h1 {
    font-size: 2.2rem;
}

.welcome-box h5 {
    min-height: 32px;
}

#rotateText {
    transition: opacity 0.4s ease;
}

.welcome-box .badge {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    font-weight: 500;
}




/* === WELCOME HERO BACKGROUND === */
.welcome-hero {
    position: relative;
    padding: 70px 25px;
    border-radius: 22px;
    overflow: hidden;
    border: 3px solid #fff;
    background:
        radial-gradient(1200px circle at 10% 10%, #e0eaff 0%, transparent 40%),
        radial-gradient(1000px circle at 90% 20%, #f0ddff 0%, transparent 45%),
        radial-gradient(800px circle at 50% 90%, #dbeafe 0%, transparent 45%),
        linear-gradient(135deg, #f8fbff, #eef3ff);
}

/* subtle grain for premium feel */
.welcome-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(0,0,0,0.03) 1px, transparent 1px);
    background-size: 3px 3px;
    opacity: 0.25;
    pointer-events: none;
}
 
.welcome-hero::before {
    top: -60px;
    left: -60px;
}

.welcome-hero::after {
    bottom: -60px;
    right: -60px;
}

/* Glass card */
 

/* Brand highlight */
.brand-text {
    background: linear-gradient(90deg, #0d6efd, #6610f2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Rotating text highlight */
.highlight-text {
    color: #0d6efd;
    font-weight: 600;
}

/* Shortcut pills */
.shortcut-pill {
    padding: 8px 16px;
    border-radius: 50px;
    background: #ffffff;
    border: 1px solid #e3e8f0;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    box-shadow: 0 5px 15px rgba(0,0,0,0.04);
    transition: transform 0.2s ease;
}

.shortcut-pill:hover {
    transform: translateY(-3px);
}










/* === Upload Guide Creative Section === */
.upload-guide {
    max-width: 800px;
    margin: auto;
    padding: 20px 15px;
}

.upload-guide-icon {
    width: 52px;
    height: 52px;
    margin: auto;
    border-radius: 50%;
    background: linear-gradient(135deg, #0d6efd, #6ea8fe);
    color: #fff;
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(13,110,253,0.25);
}

.upload-guide-title {
    font-weight: 600;
    margin-top: 12px;
}

.upload-guide-desc {
    color: #6c757d;
    margin-top: 10px;
    line-height: 1.6;
}

/* Steps row */
.upload-guide-steps {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 18px;
    flex-wrap: wrap;
}

.upload-guide-steps span {
    padding: 6px 14px;
    border-radius: 50px;
    background: #f1f5ff;
    color: #0d6efd;
    font-size: 14px;
    font-weight: 500;
    position: relative;
}

.upload-guide-steps span::after {
    content: "→";
    position: absolute;
    right: -12px;
    color: #adb5bd;
}

.upload-guide-steps span:last-child::after {
    display: none;
}


.upload-guide-icon {
    animation: pulse 2.5s ease-in-out infinite;
}

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

