/* -------------------------- */
/* GLOBAL / BODY */
/* -------------------------- */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: linear-gradient(160deg, #e0f7ff 0%, #ffffff 100%);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* RADAR / DEPTH BACKDROP */
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at center, rgba(0,170,255,0.08) 0%, transparent 70%);
    animation: radar 8s linear infinite;
    z-index: -1;
}

@keyframes radar {
    0% { background-position: center; }
    100% { background-position: 100% 100%; }
}

/* -------------------------- */
/* NAVBAR */
/* -------------------------- */
.navbar-glass {
    backdrop-filter: blur(20px) saturate(180%);
    background-color: rgba(255, 255, 255, 0.55);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.navbar-logo {
    width: 36px;
    height: 36px;
}

/* Navbar brand title - modern, stylish, bold */
.navbar-title {
    font-family: 'Poppins', 'SF Pro Display', sans-serif;
    font-weight: 800;
    font-size: 1.6rem;
    letter-spacing: 1px;
    color: #0072ff;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

/* Animation glow for active transfer */
.brand-transfer-active {
    animation: brand-glow 1.5s infinite alternate;
}

@keyframes brand-glow {
    0% {
        text-shadow: 0 0 5px #00aaff, 0 0 10px #0072ff, 0 0 20px #00c0ff;
        transform: scale(1);
    }
    50% {
        text-shadow: 0 0 10px #00c0ff, 0 0 20px #0072ff, 0 0 30px #00aaff;
        transform: scale(1.05);
    }
    100% {
        text-shadow: 0 0 5px #00aaff, 0 0 10px #0072ff, 0 0 20px #00c0ff;
        transform: scale(1);
    }
}
.navbar-brand:hover .navbar-title {
    color: #00aaff;
    transform: scale(1.05);
    transition: all 0.3s ease;
    cursor: pointer;
}

/* Center Clock */
/* iOS Glass Clock - White + Sky Blue */
.navbar-clock {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);

    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.6px;
    color: #007aff; /* iOS blue */

    padding: 8px 20px;
    border-radius: 22px;

    /* Glassmorphism */
    background: linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.85),
            rgba(135, 206, 250, 0.35)
    );

    backdrop-filter: blur(25px) saturate(200%);
    -webkit-backdrop-filter: blur(25px) saturate(200%);

    border: 1px solid rgba(255, 255, 255, 0.6);

    box-shadow:
            0 8px 32px rgba(0, 122, 255, 0.15),
            inset 0 1px 0 rgba(255, 255, 255, 0.8);

    transition: all 0.3s ease;
}
.navbar-clock:hover {
    transform: translateX(-50%) scale(1.05);
    box-shadow:
            0 12px 40px rgba(0, 122, 255, 0.25),
            inset 0 1px 0 rgba(255, 255, 255, 0.9);
}




.navbar-nav .nav-link {
    font-weight: 500;
    color: #0072ff;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #00aaff;
    transform: translateY(-2px);
}

.navbar-toggler {
    position: relative;
    width: 36px;
    height: 36px;
}

.navbar-toggler .hamburger {
    display: block;
    width: 100%;
    height: 3px;
    background: #0072ff;
    border-radius: 3px;
    position: relative;
    transition: all 0.4s ease;
}

.navbar-toggler .hamburger::before,
.navbar-toggler .hamburger::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 3px;
    background: #0072ff;
    border-radius: 3px;
    transition: all 0.4s ease;
}

.navbar-toggler .hamburger::before { top: -10px; }
.navbar-toggler .hamburger::after { bottom: -10px; }

/* -------------------------- */
/* MAIN PANEL / GLASS EFFECT */
/* -------------------------- */
.panel {
    margin-bottom: 20px;
    padding: 30px 25px;
    border-radius: 24px;
    box-shadow: 0 12px 36px rgba(0,0,0,0.08);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.panel:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.12);
}

.glass-panel {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(24px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

/* Highlighted ID */
.focused-id {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 16px;
    font-weight: 600;
    font-size: 1rem;
    background: rgba(0,170,255,0.15); /* subtle blue glass */
    backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid rgba(0,170,255,0.4);
    color: #0072ff;
    box-shadow: 0 4px 16px rgba(0,170,255,0.25);
    transition: all 0.3s ease;
}

.focused-id:hover {
    background: rgba(0,170,255,0.25);
    box-shadow: 0 6px 20px rgba(0,170,255,0.35);
}

/* Highlighted Status */
.highlighted-status {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 16px;
    font-weight: 600;
    font-size: 1rem;
    background: rgba(0,255,85,0.15); /* greenish glass for connected */
    backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid rgba(0,255,85,0.4);
    color: #00cc44;
    box-shadow: 0 4px 16px rgba(0,255,85,0.25);
    transition: all 0.3s ease;
}

.highlighted-status.connecting {
    background: rgba(255,170,0,0.15); /* yellow for connecting */
    border-color: rgba(255,170,0,0.4);
    color: #ffaa00;
    box-shadow: 0 4px 16px rgba(255,170,0,0.25);
}

/* Optional: smooth color change when status updates */
#status {
    transition: all 0.3s ease;
}

/* -------------------------- */
/* INPUT CONTAINER ENHANCED */
/* -------------------------- */
.input-container {
    position: relative;
}

.input-container input[type="text"],
.input-container input[type="file"] {
    width: 100%;
    border-radius: 16px;
    border: none;
    padding: 14px 16px;
    font-size: 1rem;
    outline: none;
    background: rgba(255,255,255,0.3);
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
    color: #333;
}

.input-container input[type="text"]:hover {
    background: rgba(255,255,255,0.5);
}

.input-container input[type="text"]:focus {
    box-shadow: 0 0 12px rgba(0,170,255,0.4);
}

/* FILE INPUT CUSTOM */
.file-container {
    position: relative;
}

.file-container input[type="file"] {
    opacity: 0;
    z-index: 2;
    cursor: pointer;
}

.file-container .file-placeholder {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 14px 16px;
    color: #555;
    font-weight: 500;
    border-radius: 16px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.file-container:hover .file-placeholder {
    background: rgba(255,255,255,0.35);
}

/* -------------------------- */
/* BUTTONS MODERN UI */
.btn-modern {
    padding: 10px 24px;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.btn-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.12);
}

.btn-primary {
    background: linear-gradient(135deg, #00aaff, #0072ff);
    border: none;
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0072ff, #00aaff);
}

/* -------------------------- */
/* FILE LIST / PROGRESS BARS */
.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    gap: 10px;
}

.file-item progress {
    width: 60%;
    height: 18px;
    border-radius: 12px;
    appearance: none;
    overflow: hidden;
    position: relative;
}

.file-item progress::-webkit-progress-bar {
    background: #e0e0e0;
    border-radius: 12px;
}

.file-item progress::-webkit-progress-value {
    background: #00aaff;
    border-radius: 12px;
    transition: width 0.3s ease;
}


/* -------------------------- */
/* RESPONSIVE */
@media (max-width: 768px) {
    .file-item {
        flex-direction: column;
        align-items: flex-start;
    }
    .file-item progress {
        width: 100%;
    }
}
/* -------------------------- */
/* SINGLE UNIFIED CARD SECTION */
/* -------------------------- */
.panel-section-container {
    display: flex;
    justify-content: center;
    padding: 20px;
}

.unified-card {
    position: relative;
    width: 100%;
    max-width: 900px;
    border-radius: 24px;
    padding: 30px 25px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255,255,255,0.3);

    overflow: hidden;
}

.unified-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 25px 70px rgba(0,0,0,0.15);
}

/* Section titles with gradient */
.unified-card .section-title {
    background: linear-gradient(90deg, #00aaff, #0072ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 16px;
}

/* Connect inline wrapper */
/* Taller input for Connect to Device */
.connect-inline-wrapper .form-control-sm {
    max-width: 250px;
    border-radius: 16px;
    padding: 14px 16px;        /* increase vertical padding for height */
    font-size: 1rem;           /* slightly larger text */
    line-height: 1.4;          /* vertically centers text */
    display: flex;
    align-items: center;        /* vertical center for text inside */
    backdrop-filter: blur(12px);
    background: rgba(255,255,255,0.25);
    border: 1px solid rgba(255,255,255,0.3);
    transition: all 0.3s ease;
    height: 50px;              /* explicit height (optional) */
}

.connect-inline-wrapper .form-control-sm:focus {
    box-shadow: 0 0 12px rgba(0,170,255,0.4);
    background: rgba(255,255,255,0.35);
}

.connect-inline-wrapper .btn-modern {
    padding: 14px 22px;   /* match the input height */
    font-size: 1rem;
    border-radius: 16px;
    display: flex;
    align-items: center;  /* vertical center button text */
}


.connect-inline-wrapper .d-flex {
    margin-top: 12px;
}

/* Send files wrapper */
.send-files-wrapper .file-container .file-placeholder {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 14px 16px;
    transition: all 0.3s ease;

}


.send-files-wrapper .file-container:hover .file-placeholder {
    background: rgba(255,255,255,0.25);
}

.send-files-wrapper .btn-sky {
    background: linear-gradient(135deg, #00aaff, #0072ff);
    color: white;
    font-weight: 600;
}

.send-files-wrapper .btn-sky:hover {
    background: linear-gradient(135deg, #0072ff, #00aaff);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.12);
}

/* File list progress bars inside card */
.send-files-wrapper #fileList .file-item progress::-webkit-progress-value {
    background: #00aaff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .connect-inline-wrapper .d-flex {
        flex-direction: column;
        gap: 8px;
    }
    .connect-inline-wrapper .form-control-sm {
        max-width: 100%;
    }
}
/* File card container with background image */
.file-card {
    position: relative;
    border-radius: 24px;
    background:
            linear-gradient(rgba(255,255,255,0.25), rgba(255,255,255,0.25)), /* glass overlay */
            url('/img/filebg.png') no-repeat center center; /* background image */
    background-size: cover;
    backdrop-filter: blur(18px) saturate(180%);
    border: 1px solid rgba(255,255,255,0.3);
    box-shadow: 0 16px 48px rgba(0,0,0,0.08);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 260px; /* taller card */
    gap: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: visible;
}

.file-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

/* File placeholder styling */
.file-placeholder {
    font-size: 1rem;
    font-weight: 600;
    color: #000000cc;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px; /* space between icon and text */
    width: 90%;
    max-width: 400px;
    margin: 16px auto 0 auto;
    height: 60px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.25); /* light glass background */
    backdrop-filter: blur(12px) saturate(180%);
    padding: 0 16px;
    z-index: 2;
    transition: all 0.3s ease;
}

/* Folder icon */
.folder-icon {
    display: inline-block;
    width: 28px;
    height: 24px;
    border-radius: 4px;
    background: linear-gradient(135deg, rgba(255,255,255,0.5), rgba(255,255,255,0.2));
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    position: relative;
}

/* Optional: folder tab on top */
.folder-icon::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 4px;
    width: 16px;
    height: 6px;
    border-radius: 2px 2px 0 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.6), rgba(255,255,255,0.3));
}

/* Input file clickable but invisible behind placeholder */
.file-card input[type="file"] {
    position: absolute;
    top: 16px;                /* only over choose area */
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 400px;
    height: 60px;             /* same as placeholder */
    opacity: 0;
    cursor: pointer;
    z-index: 3;
}


/* Send button fixed at bottom and centered */
.file-card .send-btn {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    padding: 12px 28px;
    border-radius: 16px;
    font-weight: 600;
    background: linear-gradient(135deg, #00aaff, #0072ff);
    color: #fff;
    transition: all 0.3s ease;
}

.file-card .send-btn:hover {
    background: linear-gradient(135deg, #0072ff, #00aaff);
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.12);
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .file-card {
        min-height: 220px;
        padding: 16px;
    }

    .file-card .send-btn {
        bottom: 12px;
        padding: 10px 24px;
    }

    .file-placeholder {
        width: 95%;     /* almost full width on mobile */
        height: 50px;   /* slightly smaller height */
        font-size: 0.95rem;
    }
}
/* Brand / Hero Heading */
.brand-heading {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-weight: 800;                    /* extra bold for emphasis */
    font-size: 2.2rem;                   /* big, adjust for responsiveness */
    background: linear-gradient(90deg, #00aaff, #0072ff); /* modern gradient */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;

    /* subtle glass glow */
    text-shadow: 0 4px 12px rgba(0, 170, 255, 0.3);
    transition: all 0.4s ease;
}

.brand-heading:hover {
    transform: scale(1.05);               /* subtle hover pop */
    text-shadow: 0 6px 20px rgba(0, 170, 255, 0.45);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .brand-heading {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .brand-heading {
        font-size: 1.5rem;
    }
}
/* INFO CARD */
.info-card {
    max-width: 800px;
    margin: 30px auto; /* center horizontally */
    padding: 30px 25px;
    border-radius: 24px;
    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255,255,255,0.3);
    box-shadow: 0 16px 48px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.12);
}

/* Stylish Section Titles */
.info-card .section-title {
    font-family: 'SF Pro Display', 'Segoe UI', sans-serif;
    font-weight: 800;
    font-size: 2rem;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #00aaff, #0072ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* Info text */
.info-card .info-text {
    font-size: 1rem;
    color: #111;
    margin: 16px auto;
    line-height: 1.6;
    max-width: 700px;
}

/* Info list */
.info-card .info-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.info-card .info-list li {
    font-size: 1rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    border-radius: 12px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
}

.info-card .info-list li:hover {
    background: rgba(255,255,255,0.25);
}

/* Icons in list items */
.info-card .info-list li::before {
    content: '';
    display: inline-block;
    width: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .info-card {
        padding: 20px 16px;
    }
    .info-card .section-title {
        font-size: 1.5rem;
    }
    .info-card .info-text,
    .info-card .info-list li {
        font-size: 0.95rem;
    }
}
.other-projects-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.project-link {
    text-decoration: none;
}

.project-card {
    padding: 16px 20px;
    border-radius: 16px;
    background: rgba(255,255,255,0.3);
    backdrop-filter: blur(16px) saturate(180%);
    font-weight: 600;
    font-size: 1.05rem;
    color: #0072ff;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.project-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.12);
    background: rgba(255,255,255,0.45);
}

/* -------------------------- */
/* FOOTER */
.footer-panel {
    padding: 30px 20px;
    border-radius: 24px;
    backdrop-filter: blur(20px) saturate(180%);
    background: rgba(255,255,255,0.3);
    border: 1px solid rgba(255,255,255,0.25);
    box-shadow: 0 16px 48px rgba(0,0,0,0.08);
    text-align: center;
}

.footer-title {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(90deg, #00aaff, #0072ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.footer-subtitle {
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 16px;
}

.footer-links a {
    color: #0072ff;
    font-weight: 500;
    text-decoration: none;
    margin: 0 6px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #00aaff;
    text-decoration: underline;
}

.btn-youtube {
    background: #FF0000;
    color: #fff;
    padding: 10px 22px;
    font-weight: 600;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.btn-youtube:hover {
    background: #cc0000;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.12);
}

.footer-socials p {
    font-size: 0.85rem;
    color: #555;
    margin-top: 12px;
}
.footer-socials a {
    color: #0072ff;
    text-decoration: none;
    transition: all 0.3s ease;
}
.footer-socials a:hover {
    color: #00aaff;
    text-decoration: underline;
}
/* -------------------------- */
/* FILE LIST CONTAINER */
/* -------------------------- */
#fileList {
    margin-top: 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px; /* space between files */
}

/* Individual file item */
#fileList .file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.25); /* glass effect */
    backdrop-filter: blur(12px) saturate(180%);
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-size: 0.95rem;
    color: #000;
}

/* Hover effect */
#fileList .file-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.12);
}

/* File name */
#fileList .file-item .file-name {
    flex: 1;
    margin-right: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* File progress bar */
#fileList .file-item progress {
    width: 30%;
    height: 14px;
    border-radius: 12px;
    appearance: none;
    overflow: hidden;
}

/* Progress bar styling */
#fileList .file-item progress::-webkit-progress-bar {
    background: rgba(255,255,255,0.2);
    border-radius: 12px;
}

#fileList .file-item progress::-webkit-progress-value {
    background: linear-gradient(135deg, #00aaff, #0072ff);
    border-radius: 12px;
    transition: width 0.3s ease;
}

/* Optional: button for download/cancel inside file-item */
#fileList .file-item button {
    padding: 6px 14px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    border: none;
    background: linear-gradient(135deg, #00aaff, #0072ff);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

#fileList .file-item button:hover {
    background: linear-gradient(135deg, #0072ff, #00aaff);
    transform: translateY(-1px);
}
