/* Transferly Modern Overrides - Brand Colors & Glassmorphism */

/* ========== Hero Section ========== */
.hero-section {
    text-align: center;
    padding: 40px 20px 30px;
    margin-bottom: 30px;
    animation: fadeIn 0.6s ease-in;
}

.hero-section h1 {
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
    text-shadow: 2px 4px 8px rgba(0,0,0,0.4);
    line-height: 1.2;
}

.hero-section p {
    font-size: clamp(14px, 2vw, 18px);
    color: #fff;
    max-width: 700px;
    margin: 0 auto 25px;
    text-shadow: 1px 2px 4px rgba(0,0,0,0.3);
    line-height: 1.6;
}

/* ========== Trust Badges ========== */
.trust-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    max-width: 800px;
    margin: 0 auto 25px;
}

.badge-item {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.3s;
    color: #1a1a1a;
}

.badge-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

/* ========== Main Upload Card - Glassmorphism ========== */
.main {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    border-radius: 20px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    min-height: 420px !important;
    width: 550px !important;
    max-width: 95vw;
    margin: 0 auto;
    float: none !important;
    padding: 25px !important;
}

/* ========== Upload Zone Modern ========== */
.upload_section {
    margin-bottom: 15px;
}

.file-select {
    background: transparent !important;
    color: #00CEFD !important;
    border: 2px solid #00CEFD !important;
    padding: 12px 24px !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: all 0.3s !important;
    min-width: 100% !important;
    margin-top: 10px !important;
}

.file-select:hover {
    background: #00CEFD !important;
    color: #000609 !important;
}

/* ========== Form Inputs Modern ========== */
.form-control {
    border: 2px solid #e0e0e0 !important;
    border-radius: 10px !important;
    padding: 12px 15px !important;
    font-size: 14px !important;
    transition: all 0.3s !important;
}

.form-control:focus {
    border-color: #00CEFD !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(0, 206, 253, 0.1) !important;
}

/* ========== Modern Buttons - Transferly Colors ========== */
#submit_upload {
    background: linear-gradient(135deg, #00CEFD 0%, #0287A0 100%) !important;
    color: #000609 !important;
    border: none !important;
    padding: 14px 28px !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    box-shadow: 0 4px 15px rgba(0, 206, 253, 0.3) !important;
    transition: all 0.3s !important;
}

#submit_upload:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 206, 253, 0.4) !important;
    background: linear-gradient(135deg, #7ADFF4 0%, #00CEFD 100%) !important;
}

#settingsButton {
    background: transparent !important;
    color: #00CEFD !important;
    border: 2px solid #00CEFD !important;
    padding: 12px 20px !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
    transition: all 0.3s !important;
}

#settingsButton:hover {
    background: #00CEFD !important;
    color: #000609 !important;
}

#addReceiver {
    background: transparent !important;
    color: #00CEFD !important;
    border: 2px solid #00CEFD !important;
    border-radius: 10px !important;
    padding: 10px !important;
    transition: all 0.3s !important;
}

#addReceiver:hover {
    background: #00CEFD !important;
    color: #000609 !important;
}

/* ========== Button Section Layout ========== */
.buttonSection {
    position: static !important;
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 20px;
    width: 100% !important;
}

.buttonSection > div:first-child {
    flex: 1;
    float: none !important;
    width: auto !important;
}

.buttonSection > div:nth-child(2) {
    float: none !important;
    padding-left: 0 !important;
}

/* ========== Spacing Adjustments ========== */
.EmailToSection,
.EmailFromSection {
    margin-bottom: 15px;
}

.MessageSection {
    margin-bottom: 20px;
}

/* ========== Progress/Success Glass Card ========== */
#uploadingDiv .main {
    max-width: 500px;
    margin: 0 auto;
}

/* ========== Settings Panel ========== */
.uploadSettings {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* ========== Logo Styling ========== */
.logo {
    max-width: 180px;
    height: auto;
}

/* ========== Quick Links ========== */
.quick-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.quick-links a {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s;
}

.quick-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    text-decoration: none;
}

/* ========== Animations ========== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(0, 206, 253, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(0, 206, 253, 0.6);
    }
}

/* ========== Plan Badge ========== */
.hero-section .plan-badge {
    display: inline-block;
    background: linear-gradient(135deg, #00CEFD 0%, #0287A0 100%);
    color: #fff;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 206, 253, 0.4);
    animation: pulse-glow 2s infinite;
    margin-top: 15px;
}

/* ========== Mobile Responsiveness ========== */
@media (max-width: 768px) {
    .main {
        width: 95vw !important;
        padding: 20px !important;
        border-radius: 15px !important;
    }

    .trust-badges {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .hero-section {
        padding: 30px 15px 20px;
    }

    .buttonSection {
        flex-direction: column;
        gap: 10px;
    }

    .buttonSection > div:first-child,
    .buttonSection > div:nth-child(2) {
        width: 100%;
    }

    #submit_upload,
    #settingsButton {
        width: 100% !important;
    }
}

/* ========== Upload Form List ========== */
#upload-form-list {
    max-height: 80px;
    margin-bottom: 10px;
}

/* ========== Success State ========== */
#uploadSuccess h2 {
    color: #00CEFD !important;
    font-weight: 700;
}

#okButton .btn {
    background: linear-gradient(135deg, #00CEFD 0%, #0287A0 100%) !important;
    color: #000609 !important;
    border: none !important;
    padding: 14px 40px !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
    transition: all 0.3s !important;
}

#okButton .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 206, 253, 0.4) !important;
}

/* ========== Cancel Button ========== */
#cancelUpload {
    background: transparent !important;
    color: #00CEFD !important;
    border: 2px solid #00CEFD !important;
    border-radius: 10px !important;
    padding: 12px 20px !important;
    transition: all 0.3s !important;
}

#cancelUpload:hover {
    background: #00CEFD !important;
    color: #000609 !important;
}

/* ========== Smooth Transitions ========== */
* {
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

/* ========== Form Content Spacing ========== */
.FormContent {
    width: 100%;
    margin: 0;
}

/* ========== Settings Content Max Width ========== */
.MainContent {
    max-width: 1100px;
    width: 100%;
}
