:root {
    --primary-blue: #3b82f6;
    --primary-blue-dark: #2563eb;
    --primary-blue-light: #60a5fa;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.25);
    --shadow-light: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.12), 0 4px 6px -2px rgba(0, 0, 0, 0.06);
    --shadow-large: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.08);
    --shadow-extra-large: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.aurora-background {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 25%, #fef7ff 50%, #fefce8 75%, #f0fdf4 100%);
    background-size: 400% 400%;
    animation: aurora 20s ease infinite;
    min-height: 100vh;
    position: relative;
}

.aurora-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

@keyframes aurora {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.glassmorphism-header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--shadow-light);
}

.upload-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-medium);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.upload-card:hover {
    box-shadow: var(--shadow-large);
    transform: translateY(-5px);
}

.gradient-text {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #60a5fa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 200% 200%;
    animation: gradient-shift 8s ease infinite;
}

@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.glow-button {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    box-shadow: 0 4px 14px 0 rgba(59, 130, 246, 0.4), 0 0 0 1px rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.glow-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s ease;
}

.glow-button:hover {
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6), 0 0 0 1px rgba(59, 130, 246, 0.2);
    transform: translateY(-3px);
}

.glow-button:hover::before {
    left: 100%;
}

.file-item {
    background: white;
    border-radius: 12px;
    padding: 18px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.file-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.file-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.file-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary-blue);
}

.file-details {
    display: flex;
    flex-direction: column;
}

.file-name {
    font-weight: 600;
    color: #1f2937;
}

.file-size {
    font-size: 0.75rem;
    color: #6b7280;
}

.remove-btn {
    opacity: 0.7;
    transition: all 0.2s ease;
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border-radius: 6px;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-btn:hover {
    opacity: 1;
    background: rgba(239, 68, 68, 0.2);
}

.drop-zone {
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
}

.drop-zone::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 10px;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, transparent 30%, transparent 70%, var(--primary-blue-light) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.drop-zone.active {
    border-color: var(--primary-blue);
    background: rgba(59, 130, 246, 0.05);
}

.drop-zone.active::before {
    opacity: 1;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-pending {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
    box-shadow: 0 2px 4px rgba(146, 64, 14, 0.1);
}

.status-paid {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    color: #065f46;
    box-shadow: 0 2px 4px rgba(6, 95, 70, 0.1);
}

.job-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #e5e7eb;
    transition: background-color 0.2s ease;
}

.job-item:hover {
    background-color: rgba(249, 250, 251, 0.7);
    border-radius: 8px;
    padding-left: 12px;
    padding-right: 12px;
}

.job-item:last-child {
    border-bottom: none;
}

.total-section {
    background: white;
    border-radius: 12px;
    margin-top: 24px;
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(229, 231, 235, 0.8);
}

.footer {
    margin-top: 80px;
    padding: 24px 0;
    color: #6b7280;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 0.875rem;
}

.print-icon {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
    border-radius: 12px;
    padding: 10px;
    box-shadow: var(--shadow-medium);
    display: flex;
    align-items: center;
    justify-content: center;
}

.animate-pulse-slow {
    animation: pulse 4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 4px 14px 0 rgba(59, 130, 246, 0.4);
    }

    50% {
        transform: scale(1.02);
        box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6), 0 0 20px rgba(59, 130, 246, 0.4);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in {
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.floating-shape {
    position: absolute;
    background: rgba(59, 130, 246, 0.05);
    border-radius: 50%;
    animation: float 20s infinite linear;
}

.floating-shape:nth-child(1) {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 5%;
    animation-duration: 25s;
}

.floating-shape:nth-child(2) {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 10%;
    animation-duration: 30s;
    animation-direction: reverse;
}

.floating-shape:nth-child(3) {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 20%;
    animation-duration: 20s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(30px, -50px) rotate(120deg);
    }

    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }

    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.3), transparent);
    margin: 40px 0;
}

.main-content {
    position: relative;
    z-index: 1;
}

/* Printer paper slide-out animation */
@keyframes paperSlideOut {
    0% {
        transform: translateY(0) scale(0.8);
        opacity: 0;
    }

    25% {
        transform: translateY(-15px) scale(0.9);
        opacity: 0.7;
    }

    50% {
        transform: translateY(-25px) scale(1);
        opacity: 1;
    }

    75% {
        transform: translateY(-30px) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateY(-35px) scale(1);
        opacity: 0.95;
    }
}

/* Printer light glow effect */
.printer-light-green {
    filter: drop-shadow(0 0 4px rgba(16, 185, 129, 0.6));
}

/* Floating particle effects */
.floating-particle-1,
.floating-particle-2,
.floating-particle-3 {
    filter: drop-shadow(0 0 2px rgba(59, 130, 246, 0.3));
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {

    /* Reduce hero section top padding on mobile */
    section.bg-transparent {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    /* Mobile hero title improvements */
    .text-5xl.md\:text-6xl.lg\:text-7xl {
        font-size: 3rem !important;
        line-height: 1.1 !important;
        letter-spacing: -0.02em !important;
        padding: 0.5rem 0 !important;
        text-align: center !important;
    }

    /* Mobile subtitle improvements */
    .text-lg.text-slate-600 {
        font-size: 1.125rem !important;
        text-align: center !important;
        margin-top: 1rem !important;
        line-height: 1.5 !important;
    }

    /* Mobile button improvements */
    .glow-button {
        font-size: 1rem !important;
        padding: 0.75rem 1.5rem !important;
        display: block !important;
        text-align: center !important;
        margin: 1.5rem auto 0 !important;
        max-width: 250px !important;
    }

    /* Mobile grid layout */
    .grid.lg\:grid-cols-2 {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        text-align: center !important;
    }

    /* Mobile container padding */
    .container.mx-auto {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

@media (max-width: 640px) {

    /* Small mobile adjustments */
    .text-5xl.md\:text-6xl.lg\:text-7xl {
        font-size: 2.5rem !important;
        line-height: 1.1 !important;
    }

    .text-lg.text-slate-600 {
        font-size: 1rem !important;
    }

    .glow-button {
        font-size: 0.9rem !important;
        padding: 0.6rem 1.2rem !important;
    }
}

@media (max-width: 480px) {

    /* Extra small mobile */
    section.bg-transparent {
        padding-top: 1.5rem !important;
    }

    .text-5xl.md\:text-6xl.lg\:text-7xl {
        font-size: 2.25rem !important;
    }

    .container.mx-auto {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
}

/* Job Preview Styles */
.job .details .flex.items-center.justify-between {
    flex-wrap: wrap;
    gap: 0.75rem;
}

.job .details .flex.items-center.justify-between > span {
    flex: 1;
    min-width: 0;
    word-break: break-word;
}

.job .details .flex.items-center.justify-between > button {
    flex-shrink: 0;
    min-width: fit-content;
}

@media (max-width: 640px) {
    .job .details .flex.items-center.justify-between {
        flex-direction: column;
        align-items: stretch !important;
    }
    
    .job .details .flex.items-center.justify-between > span {
        text-align: left;
        margin-bottom: 0.5rem;
    }
    
    .job .details .flex.items-center.justify-between > button {
        width: 100%;
        justify-content: center;
        margin-left: 0 !important;
    }
}

/* Profile Icon Styles */
.profile-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    border: 2px solid rgba(59, 130, 246, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.2);
}

.profile-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, transparent 0%, rgba(59, 130, 246, 0.1) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.profile-icon:hover {
    transform: translateY(-2px);
    border-color: rgba(59, 130, 246, 0.6);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.3),
        0 0 20px rgba(59, 130, 246, 0.1);
}

.profile-icon:hover::before {
    opacity: 1;
}

.profile-icon svg {
    width: 20px;
    height: 20px;
    color: rgba(59, 130, 246, 0.8);
    transition: all 0.3s ease;
}

.profile-icon:hover svg {
    color: rgba(59, 130, 246, 1);
    transform: scale(1.1);
}

/* Profile image when uploaded */
.profile-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Active state for profile icon */
.profile-icon.active {
    border-color: rgba(59, 130, 246, 0.8);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(59, 130, 246, 0.05));
}


.pdf-preview-container {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;

    border: 1px solid #c7c7c7;
    border-radius: 10px;
    overflow-y: auto;
    max-height: 80vh;
    padding: 8px;
    background-color: #efefef;
}

.pdf-canvas {
    border: 1px solid;
    border-radius: 10px;
    /* border-top: 1px solid; */
    height: 718.423px;
    margin: 8px 0;
    width: 100%;
    height: auto;
}
