/* Basic Reset & Defaults */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1e88e5;
    --primary-light: #64b5f6;
    --primary-dark: #0d47a1;
    --secondary-color: #2962ff;
    --success-color: #43a047;
    --background-color: #f5f7fa;
    --sidebar-bg: #1a2233;
    --card-bg: #ffffff;
    --text-primary: #212121;
    --text-secondary: #616161;
    --text-light: #f5f5f5;
    --border-color: rgba(0, 0, 0, 0.1);
    --error-color: #e53935;
    --transition-speed: 0.3s;
    --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --heading-font: 'Montserrat', sans-serif;
    --body-font: 'Open Sans', sans-serif;
    --ui-font: 'Inter', sans-serif;

    /* Enhanced gradient colors */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-success: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-warm: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    --gradient-cool: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
    --gradient-dark: linear-gradient(135deg, #232526 0%, #414345 100%);
    --glass-bg: rgba(255, 255, 255, 0.25);
    --glass-border: rgba(255, 255, 255, 0.18);
}

@keyframes fadeIn {

    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

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

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

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(30, 136, 229, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(30, 136, 229, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(30, 136, 229, 0);
    }
}

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

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

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

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes glow {
    0% {
        box-shadow: 0 0 5px rgba(102, 126, 234, 0.5);
    }

    50% {
        box-shadow: 0 0 20px rgba(102, 126, 234, 0.8), 0 0 30px rgba(102, 126, 234, 0.6);
    }

    100% {
        box-shadow: 0 0 5px rgba(102, 126, 234, 0.5);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

body {
    font-family: var(--body-font);
    background-color: var(--background-color);
    color: var(--text-primary);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    overflow: hidden;
    height: 100vh;
    width: 100vw;
    display: flex;
    scrollbar-gutter: stable;
}

/* Custom Scrollbar Styling */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 10px;
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-secondary);
}

/* Firefox Scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: #667eea #f0f0f0;
}

/* Sidebar */
.sidebar {
    background: var(--gradient-dark);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite, fadeIn 0.5s ease-in-out;
    width: 260px;
    height: 100vh;
    padding: 30px 0;
    display: flex;
    flex-direction: column;
    box-shadow: 3px 0 20px rgba(0, 0, 0, 0.3);
    z-index: 10;
    position: relative;
    overflow: hidden;
}

.sidebar::before {
    display: none;
}

.logo {
    padding: 0 30px;
    margin-bottom: 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
}

.logo h1 {
    font-size: 1.8em;
    font-weight: 700;
    font-family: var(--heading-font);
    letter-spacing: -0.5px;
    color: #ffffff;
    margin-bottom: 5px;
}

.logo-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.tagline {
    font-size: 0.9em;
    font-family: var(--ui-font);
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.nav-items {
    flex: 1;
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 12px 30px;
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition-speed) ease;
    cursor: pointer;
    margin: 0 15px 8px;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.nav-item::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.5s ease;
}

.nav-item:hover::before {
    left: 100%;
}

.nav-item svg {
    margin-right: 15px;
    width: 20px;
    height: 20px;
    transition: all var(--transition-speed) ease;
    z-index: 1;
}

.nav-item span {
    font-weight: 500;
    z-index: 1;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.nav-item:hover svg {
    transform: scale(1.2) rotate(5deg);
    color: #64b5f6;
}

.nav-item.active {
    background: var(--gradient-primary);
    color: #ffffff;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
    animation: glow 3s ease-in-out infinite;
}

.storage-info {
    margin-top: auto;
    padding: 20px 30px;
    background-color: rgba(0, 0, 0, 0.2);
    margin: 30px 15px 0;
    border-radius: 10px;
}

.storage-section {
    margin-bottom: 15px;
}

.storage-section:last-child {
    margin-bottom: 0;
}

.storage-label {
    font-size: 0.85em;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
}

.storage-bar {
    height: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.storage-fill {
    height: 100%;
    width: 35%;
    background: var(--gradient-primary);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
    border-radius: 4px;
    transition: width 0.8s ease-in-out;
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
}

#ssd-storage-usage,
#hdd-storage-usage {
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* Main content */
.main-content {
    flex: 1;
    overflow-y: scroll;
    /* Always show scrollbar space */
    height: 100vh;
    position: relative;
    animation: fadeIn 0.5s ease-in-out;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    scrollbar-gutter: stable;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.header h2 {
    font-size: 1.5em;
    font-weight: 600;
    font-family: var(--heading-font);
    color: var(--text-primary);
    animation: slideInUp 0.4s ease-out;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.9em;
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.user-avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

#user-email {
    font-size: 0.95em;
    color: var(--text-primary);
    font-weight: 500;
    transition: color var(--transition-speed) ease;
    padding: 6px 12px;
    background-color: rgba(0, 0, 0, 0.03);
    border-radius: 4px;
    border: 1px solid var(--border-color);
}

#logout-btn {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 12px;
    border-radius: 5px;
    font-size: 0.85em;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    margin-top: 5px;
}

#logout-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.content-area {
    padding: 30px;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 81px);
    animation: fadeIn 0.4s ease-out;
}

/* Dashboard panels */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    animation: scaleIn 0.5s ease-out;
}

.stat-card::before {
    display: none;
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px 0 rgba(31, 38, 135, 0.25);
}

.stat-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.stat-card-title {
    font-size: 0.95em;
    font-family: var(--ui-font);
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-card-icon {
    background-color: rgba(30, 136, 229, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.stat-card-value {
    font-size: 2em;
    font-weight: 700;
    font-family: var(--heading-font);
    color: var(--text-primary);
    margin-bottom: 5px;
    line-height: 1.2;
}

.stat-card-description {
    font-size: 0.85em;
    font-family: var(--ui-font);
    color: var(--text-secondary);
}

/* Dashboard */
#content-dashboard {
    display: flex;
    flex-direction: column;
    /* Align children vertically */
    justify-content: center;
    /* Center children vertically */
    align-items: center;
    /* Center children horizontally */
    height: 100%;
    /* Ensure it takes full height of its container */
    padding: 40px;
}

/* Drop Zone - Centered and Spaced */
#drop-zone {
    border: 3px dashed transparent;
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)) padding-box,
        var(--gradient-primary) border-box;
    border-radius: 25px;
    padding: 60px 70px;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    max-width: 500px;
    width: 100%;
    margin: 40px auto;
    animation: slideInUp 0.5s ease-out forwards, float 6s ease-in-out infinite;
    opacity: 0;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.15);
    display: block !important;
    min-height: 150px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

#drop-zone::before {
    display: none;
}

#drop-zone:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 50px rgba(102, 126, 234, 0.25);
}

#drop-zone.dragover {
    background: linear-gradient(rgba(102, 126, 234, 0.1), rgba(102, 126, 234, 0.1)) padding-box,
        var(--gradient-primary) border-box;
    transform: scale(1.05);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.35);
}

#drop-zone svg {
    margin-bottom: 20px;
    opacity: 0.8;
    transition: transform 0.4s ease;
    stroke: var(--primary-color);
}

#drop-zone:hover svg {
    transform: translateY(-5px);
}

#drop-zone h3 {
    color: var(--text-primary);
    font-size: 1.4em;
    margin-bottom: 10px;
    font-weight: 600;
}

#drop-zone p {
    margin: 8px 0 20px;
    color: var(--text-secondary);
    font-size: 1em;
}

#browse-btn {
    background: var(--gradient-primary);
    background-size: 200% 200%;
    animation: gradientShift 5s ease infinite;
    color: white;
    border: none;
    padding: 15px 35px;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

#browse-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

#browse-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
}

#browse-btn:hover::before {
    left: 100%;
}

#browse-btn:active {
    transform: translateY(-1px) scale(1.02);
}

/* Upload Progress */
#upload-progress {
    padding: 30px;
    position: relative;
    background-color: var(--card-bg);
    border-radius: 8px;
    max-width: 600px;
    width: 100%;
    box-shadow: var(--card-shadow);
    text-align: center;
    margin: 0 auto;
}

#upload-progress h3 {
    color: var(--text-primary);
    font-size: 1.4em;
    margin-bottom: 20px;
    font-weight: 600;
}

#upload-progress p {
    margin-bottom: 15px;
    color: var(--text-secondary);
}

#file-name {
    font-weight: 600;
    color: var(--primary-dark);
}

#progress-bar {
    width: 100%;
    height: 8px;
    appearance: none;
    border: none;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
    background-color: rgba(0, 0, 0, 0.05);
    position: relative;
}

#progress-bar::-webkit-progress-bar {
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
}

#progress-bar::-webkit-progress-value {
    background: var(--primary-color);
    border-radius: 4px;
    transition: width 0.3s ease-out;
}

#progress-bar::-moz-progress-bar {
    background: var(--primary-color);
    border-radius: 4px;
    transition: width 0.3s ease-out;
}

#progress-text {
    font-size: 0.9em;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

/* Result Section */
#result {
    padding: 30px;
    background-color: var(--card-bg);
    border-radius: 8px;
    max-width: 600px;
    width: 100%;
    box-shadow: var(--card-shadow);
    text-align: center;
    animation: slideInUp 0.5s ease-out;
    margin: 0 auto;
}

#result svg {
    margin-bottom: 20px;
    animation: fadeIn 0.8s ease-out;
    stroke: var(--success-color);
}

#result h2 {
    color: var(--success-color);
    margin-bottom: 20px;
    font-weight: 600;
}

#result p {
    color: var(--text-secondary);
    margin-bottom: 25px;
}

.link-container {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

#share-link {
    flex-grow: 1;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1em;
    background-color: rgba(0, 0, 0, 0.02);
    color: var(--text-primary);
    transition: all var(--transition-speed) ease;
}

#share-link:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.1);
}

#copy-btn {
    background: var(--gradient-success);
    background-size: 200% 200%;
    animation: gradientShift 5s ease infinite;
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 8px 20px rgba(79, 172, 254, 0.3);
    position: relative;
    overflow: hidden;
}

#copy-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

#copy-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 30px rgba(79, 172, 254, 0.4);
}

#copy-btn:hover::before {
    left: 100%;
}

#copy-btn:active {
    transform: translateY(-1px) scale(1.02);
}

#upload-another-btn {
    background: var(--gradient-warm);
    background-size: 200% 200%;
    animation: gradientShift 5s ease infinite;
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 8px 20px rgba(250, 112, 154, 0.3);
    margin-top: 10px;
    position: relative;
    overflow: hidden;
}

#upload-another-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

#upload-another-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 30px rgba(250, 112, 154, 0.4);
}

#upload-another-btn:hover::before {
    left: 100%;
}

#upload-another-btn:active {
    transform: translateY(-1px) scale(1.02);
}

.copy-message {
    font-size: 0.9em;
    color: var(--success-color);
    min-height: 1.3em;
    margin-bottom: 15px;
    font-weight: 500;
}

/* Error Message */
.error {
    color: var(--error-color);
    background-color: rgba(229, 57, 53, 0.05);
    border: 1px solid rgba(229, 57, 53, 0.2);
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    max-width: 600px;
    width: 100%;
    text-align: center;
    animation: fadeIn 0.4s ease-out;
}

.error button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 0.95em;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    margin-top: 15px;
    box-shadow: 0 4px 8px rgba(30, 136, 229, 0.2);
}

.error button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(30, 136, 229, 0.3);
}

/* Modal Styles */
.modal {
    position: fixed;
    /* Stay in place */
    z-index: 200;
    /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.5);
    /* Black w/ opacity */
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    margin: auto;
    padding: 35px;
    border-radius: 25px;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    position: relative;
    opacity: 0;
    transform: translateY(30px) scale(0.9);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-content.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.modal h2 {
    margin-bottom: 25px;
    color: var(--text-primary);
    text-align: center;
    font-weight: 600;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-btn:hover {
    color: var(--text-primary);
    background-color: rgba(0, 0, 0, 0.05);
    transform: rotate(90deg);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9em;
}

.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="text"],
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1em;
    background-color: #ffffff;
    color: var(--text-primary);
    transition: all var(--transition-speed) ease;
}

.form-group input[type="email"]:focus,
.form-group input[type="password"]:focus,
.form-group input[type="text"]:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.1);
}

.modal button[type="submit"] {
    width: 100%;
    padding: 14px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1.05em;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    box-shadow: 0 4px 8px rgba(30, 136, 229, 0.2);
    margin-top: 10px;
}

.modal button[type="submit"]:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(30, 136, 229, 0.3);
}

.form-switch {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9em;
    color: var(--text-secondary);
}

.form-switch a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-speed) ease;
}

.form-switch a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.form-error {
    color: var(--error-color);
    font-size: 0.9em;
    text-align: center;
    margin-top: 15px;
    min-height: 1.2em;
    /* Reserve space */
}

/* My Files Styles */
#content-my-files {
    padding: 30px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.files-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 20px;
    font-size: 0.95em;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    background-color: #ffffff;
}

.files-table th,
.files-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.files-table th {
    background-color: rgba(30, 136, 229, 0.05);
    font-weight: 600;
    color: var(--text-primary);
    position: sticky;
    top: 0;
    z-index: 10;
}

.files-table td {
    color: var(--text-secondary);
    transition: background-color var(--transition-speed) ease;
}

.files-table tr:hover td {
    background-color: rgba(0, 0, 0, 0.01);
}

.files-table tr:last-child td {
    border-bottom: none;
}

.files-table tr {
    animation: fadeIn 0.4s ease-out;
    animation-fill-mode: both;
}

.files-table tr:nth-child(1) {
    animation-delay: 0.05s;
}

.files-table tr:nth-child(2) {
    animation-delay: 0.1s;
}

.files-table tr:nth-child(3) {
    animation-delay: 0.15s;
}

.files-table tr:nth-child(4) {
    animation-delay: 0.2s;
}

.files-table tr:nth-child(5) {
    animation-delay: 0.25s;
}

.files-table tr:nth-child(6) {
    animation-delay: 0.3s;
}

.files-table tr:nth-child(7) {
    animation-delay: 0.35s;
}

.files-table tr:nth-child(8) {
    animation-delay: 0.4s;
}

.files-table tr:nth-child(9) {
    animation-delay: 0.45s;
}

.files-table tr:nth-child(10) {
    animation-delay: 0.5s;
}

/* Action Cell */
.action-cell,
.actions-cell {
    text-align: right;
    white-space: nowrap;
}

.actions-cell .action-btn {
    margin-left: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 8px;
    vertical-align: middle;
}

.actions-cell .action-btn:first-child {
    margin-left: 0;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    margin-left: 8px;
    border-radius: 6px;
    font-size: 0.85em;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    border: 1px solid transparent;
    transition: all 0.25s ease;
}

.action-btn svg {
    margin-right: 5px;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    top: -1px;
}

.action-btn span {
    display: inline-block;
    vertical-align: middle;
}

.action-btn.view-btn {
    background-color: rgba(30, 136, 229, 0.1);
    color: var(--primary-color);
    border-color: rgba(30, 136, 229, 0.2);
}

.action-btn.download-btn {
    background-color: rgba(67, 160, 71, 0.1);
    color: var(--success-color);
    border-color: rgba(67, 160, 71, 0.2);
}

.action-btn.delete-btn {
    background-color: rgba(229, 57, 53, 0.1);
    color: var(--error-color);
    border: 1px solid rgba(229, 57, 53, 0.2);
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.action-btn:active {
    transform: translateY(0);
}

.action-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Empty state for My Files */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    background-color: #ffffff;
    border-radius: 8px;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: var(--card-shadow);
}

.empty-state svg {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    color: var(--text-secondary);
    opacity: 0.6;
}

.empty-state h3 {
    color: var(--text-primary);
    margin-bottom: 10px;
}

.empty-state p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.empty-state .action-btn {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border: none;
    box-shadow: 0 4px 8px rgba(30, 136, 229, 0.2);
}

.empty-state .action-btn:hover {
    background-color: var(--primary-dark);
    box-shadow: 0 6px 12px rgba(30, 136, 229, 0.3);
}

/* Settings Page Styles */
.settings-section {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 25px;
    padding: 35px 40px;
    margin: 0 auto 30px auto;
    max-width: 700px;
    width: 100%;
    animation: slideInUp 0.4s ease-out;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.settings-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    background-size: 200% 200%;
    animation: gradientShift 5s ease infinite;
}

.settings-section h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
    font-weight: 600;
}

.settings-section p {
    color: var(--text-secondary);
    margin-bottom: 10px;
    font-size: 1em;
}

.settings-section .form-group {
    max-width: 400px;
    /* Limit width of password fields */
}

.settings-section .action-btn.update-btn {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 25px;
    border: none;
    margin-top: 10px;
    box-shadow: 0 4px 8px rgba(30, 136, 229, 0.2);
    transition: all var(--transition-speed) ease;
}

.settings-section .action-btn.update-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(30, 136, 229, 0.3);
}

.form-feedback {
    font-size: 0.9em;
    margin-top: 15px;
    min-height: 1.2em;
    font-weight: 500;
}

.form-feedback.success {
    color: var(--success-color);
}

.form-feedback.error {
    color: var(--error-color);
}

/* Notification Banner Styles */
#notification-banner {
    position: fixed;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ffffff;
    color: var(--text-primary);
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-color);
    max-width: 90%;
    font-weight: 500;
    font-family: var(--ui-font);
    font-size: 0.95rem;
    text-align: center;
}

#notification-banner.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(120px);
}

#notification-banner.error {
    border-left-color: var(--error-color);
    background-color: #ffebee;
    color: #d32f2f;
}

#notification-banner.success {
    border-left-color: var(--success-color);
    background-color: #e8f5e9;
    color: #2e7d32;
}

/* Toast Notification System for File Uploads */
.toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 3000;
    max-width: 400px;
    width: 100%;
    pointer-events: none;
}

.toast {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 4px solid var(--primary-color);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    padding: 20px;
    margin-bottom: 15px;
    opacity: 0;
    transform: translateX(450px) scale(0.9);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: auto;
    position: relative;
    overflow: hidden;
}

.toast.show {
    opacity: 1;
    transform: translateX(0) scale(1);
}

.toast.success {
    border-left: 4px solid var(--success-color);
}

.toast.error {
    border-left: 4px solid var(--error-color);
}

.toast-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.toast-title {
    font-family: var(--heading-font);
    font-size: 1.1em;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.toast-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 1.2em;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.toast-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: var(--text-primary);
}

.toast-content {
    color: var(--text-secondary);
    font-size: 0.95em;
    margin-bottom: 15px;
}

.toast-progress {
    margin-bottom: 15px;
}

.toast-progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
}

.toast-progress-fill {
    height: 100%;
    background: var(--primary-color);
    border-radius: 3px;
    transition: width 0.3s ease;
    width: 0%;
}

.toast-progress-text {
    font-size: 0.85em;
    color: var(--text-secondary);
    text-align: center;
}

.toast-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.toast-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    font-size: 0.9em;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--ui-font);
    flex: 1;
    min-width: 120px;
}

.toast-btn.primary {
    background: var(--primary-color);
    color: white;
}

.toast-btn.primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.toast-btn.secondary {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-primary);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.toast-btn.secondary:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.toast-link-container {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
}

.toast-link-input {
    flex: 1;
    padding: 10px 12px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-size: 0.9em;
    background: rgba(255, 255, 255, 0.8);
    font-family: monospace;
}

.toast-link-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.toast-copy-btn {
    padding: 10px 16px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9em;
    font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.toast-copy-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.toast-copy-btn.success {
    background: var(--success-color);
}

/* Mobile responsive for toasts */
@media (max-width: 768px) {
    .toast-container {
        left: 20px;
        right: 20px;
        max-width: none;
    }

    .toast {
        transform: translateY(450px) scale(0.9);
    }

    .toast.show {
        transform: translateY(0) scale(1);
    }

    .toast-actions {
        flex-direction: column;
    }

    .toast-btn {
        min-width: auto;
    }

    .toast-link-container {
        flex-direction: column;
    }

    .toast-copy-btn {
        width: 100%;
    }
}

/* Status Page */
#content-status {
    padding: 30px;
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}

.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.status-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    text-align: center;
    animation: scaleIn 0.5s ease-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.status-card::before {
    display: none;
}

.status-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
}

.status-card svg {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
    color: var(--primary-color);
    opacity: 0.9;
    transition: transform 0.3s ease;
}

.status-card:hover svg {
    transform: scale(1.1);
}

.status-card h3 {
    color: var(--text-primary);
    font-size: 1.3em;
    font-family: var(--heading-font);
    margin-bottom: 15px;
    font-weight: 600;
}

.status-card p {
    color: var(--text-secondary);
    font-size: 1.05em;
    font-weight: 500;
}

.status-indicator {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    margin-right: 10px;
    position: relative;
    top: 1px;
}

.status-indicator.available {
    background-color: var(--success-color);
    box-shadow: 0 0 10px rgba(67, 160, 71, 0.5);
}

.status-indicator.limited {
    background-color: #ff9800;
    box-shadow: 0 0 10px rgba(255, 152, 0, 0.5);
}

.status-indicator.error {
    background-color: var(--error-color);
    box-shadow: 0 0 10px rgba(229, 57, 53, 0.5);
}

/* Chart container */
.chart-container {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    min-height: 200px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Loading spinner */
.spinner {
    width: 40px;
    height: 40px;
    background: conic-gradient(from 180deg at 50% 50%, var(--gradient-primary) 0deg, transparent 360deg);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    position: relative;
}

.spinner::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    right: 3px;
    bottom: 3px;
    background: #f5f7fa;
    border-radius: 50%;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Status page enhancements */
.data-stats-section {
    margin-bottom: 40px;
}

.data-stats-section h3 {
    font-family: var(--heading-font);
    font-size: 1.4em;
    margin-bottom: 25px;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
    font-weight: 600;
}

.data-stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 20px;
}

.data-stats-item {
    flex: 1;
    min-width: 220px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.data-stats-item::after {
    display: none;
}

.data-stats-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.data-stats-item .label {
    font-size: 0.9em;
    color: var(--text-secondary);
    margin-bottom: 10px;
    font-family: var(--ui-font);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.data-stats-item .value {
    font-size: 2em;
    font-weight: 700;
    font-family: var(--heading-font);
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.data-stats-item .description {
    font-size: 0.9em;
    color: var(--text-secondary);
    margin-top: 10px;
}

.value.coming-soon {
    color: #ff9800;
    font-style: italic;
    font-weight: 600;
    font-size: 1.4em;
}

/* Typography improvements for general elements */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--heading-font);
    line-height: 1.3;
}

button,
input,
select,
textarea,
.btn,
.action-btn {
    font-family: var(--ui-font);
}

p,
span,
div {
    font-family: var(--body-font);
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        flex-direction: column;
        overflow-y: auto;
    }

    #app-container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        height: auto;
        padding: 10px 0;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }

    .logo {
        padding: 0 20px;
        margin-bottom: 15px;
        justify-content: space-between;
        align-items: center;
    }

    .logo-content {
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }

    .logo h1 {
        margin-bottom: 0;
        font-size: 1.5em;
    }

    .tagline {
        font-size: 0.8em;
    }

    .nav-items {
        display: flex;
        overflow-x: auto;
        padding-bottom: 10px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .nav-item {
        flex-direction: column;
        text-align: center;
        padding: 8px 12px;
        border-left: none;
        border-bottom: 3px solid transparent;
    }

    .nav-item svg {
        margin-right: 0;
        margin-bottom: 5px;
        width: 18px;
        height: 18px;
    }

    .nav-item.active {
        border-left: none;
        border-bottom: 3px solid var(--primary-color);
    }

    .storage-info {
        display: none;
    }

    .storage-section {
        margin-bottom: 10px;
    }

    .main-content {
        height: auto;
    }

    .header {
        padding: 15px 20px;
        flex-direction: column;
        gap: 10px;
        min-height: 60px;
        justify-content: flex-end;
    }

    .header h2 {
        font-size: 1.3em;
    }

    .user-avatar {
        width: 36px;
        height: 36px;
        font-size: 0.8em;
    }

    #user-email {
        font-size: 0.9em;
    }

    #logout-btn {
        padding: 5px 10px;
        font-size: 0.8em;
        position: static;
        margin-top: 0;
    }

    .content-area {
        padding: 15px;
    }

    #drop-zone {
        padding: 25px 15px;
    }

    #drop-zone h3 {
        font-size: 1.2em;
    }

    #drop-zone p {
        font-size: 0.9em;
    }

    #browse-btn {
        padding: 10px 20px;
        font-size: 0.95em;
    }

    #file-options {
        padding: 15px;
    }

    #file-options h4 {
        font-size: 1.1em;
        margin-bottom: 15px;
    }

    #upload-progress,
    #result {
        padding: 20px;
    }

    #upload-progress h3,
    #result h2 {
        font-size: 1.2em;
    }

    .link-container {
        flex-direction: column;
        gap: 8px;
    }

    #share-link {
        padding: 10px 12px;
        font-size: 0.9em;
    }

    #copy-btn,
    #upload-another-btn {
        padding: 10px 18px;
        font-size: 0.9em;
        width: 100%;
    }

    #upload-another-btn {
        margin-top: 8px;
    }

    .files-table th,
    .files-table td {
        padding: 10px 8px;
    }

    .files-table {
        font-size: 0.8em;
        white-space: nowrap;
    }

    .files-table td:nth-child(1),
    .files-table th:nth-child(1) {
        min-width: 150px;
        white-space: normal;
    }

    .files-table td:nth-child(2),
    .files-table th:nth-child(2) {
        min-width: 70px;
    }

    .files-table td:nth-child(3),
    .files-table th:nth-child(3) {
        min-width: 120px;
    }

    .files-table td:nth-child(4),
    .files-table th:nth-child(4) {
        min-width: 80px;
        text-align: center;
    }

    .files-table th:nth-child(5) {
        text-align: right;
    }

    .action-btn {
        padding: 5px 7px;
        margin-left: 4px;
        font-size: 0.8em;
    }

    .actions-cell .action-btn svg {
        margin-right: 3px;
        width: 14px;
        height: 14px;
    }

    .actions-cell {
        text-align: right;
    }

    .dashboard-grid,
    .status-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .modal-content {
        padding: 20px;
        max-width: 90vw;
        max-height: 90vh;
        overflow-y: auto;
    }

    .modal h2 {
        font-size: 1.3em;
        margin-bottom: 20px;
    }

    .form-group label {
        font-size: 0.85em;
    }

    .form-group input[type="email"],
    .form-group input[type="password"],
    .form-group input[type="text"],
    .form-group select {
        padding: 10px 12px;
        font-size: 0.95em;
    }

    .modal button[type="submit"] {
        padding: 12px;
        font-size: 1em;
    }

    #content-my-files {
        padding: 15px;
    }

    #my-files-list {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border: 1px solid var(--border-color);
        border-radius: 6px;
    }

    .empty-state {
        padding: 30px 15px;
    }

    .empty-state svg {
        width: 60px;
        height: 60px;
    }

    .empty-state h3 {
        font-size: 1.1em;
    }

    .empty-state .action-btn {
        padding: 8px 16px;
        font-size: 0.9em;
    }

    .settings-section {
        padding: 20px;
    }

    .settings-section h3 {
        font-size: 1.2em;
    }

    .settings-section p {
        font-size: 0.9em;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 12px;
    }

    .settings-section p span {
        width: auto;
        font-weight: 500;
        color: var(--text-secondary);
        margin-bottom: 3px;
    }

    .settings-section p strong {
        color: var(--text-primary);
    }

    .settings-section .action-btn.update-btn {
        padding: 10px 20px;
        width: 100%;
    }

    .password-change .form-group {
        max-width: none;
    }

    #content-status {
        padding: 15px;
    }

    .status-card {
        padding: 20px;
    }

    .status-card svg {
        width: 40px;
        height: 40px;
        margin-bottom: 15px;
    }

    .status-card h3 {
        font-size: 1.1em;
    }

    .status-card p {
        font-size: 0.95em;
    }

    .data-stats-section h3 {
        font-size: 1.2em;
        margin-bottom: 20px;
        padding-bottom: 10px;
    }

    .data-stats-row {
        gap: 15px;
        flex-direction: column;
    }

    .data-stats-item {
        padding: 20px;
        min-width: unset;
    }

    .data-stats-item .label {
        font-size: 0.85em;
    }

    .data-stats-item .value {
        font-size: 1.6em;
    }

    .data-stats-item .description {
        font-size: 0.85em;
    }

    .stat-card {
        padding: 15px;
    }

    .stat-card-title {
        font-size: 0.9em;
    }

    .stat-card-icon {
        width: 36px;
        height: 36px;
    }

    .stat-card-icon svg {
        width: 18px;
        height: 18px;
    }

    .stat-card-value {
        font-size: 1.6em;
    }

    .stat-card-description {
        font-size: 0.8em;
    }
}

/* Settings username style */
#setting-username,
#setting-quota,
#setting-plan,
#setting-registration-date,
#setting-file-count {
    color: var(--primary-dark);
    font-weight: 600;
}

.settings-section p span {
    display: inline-block;
    width: 140px;
    color: var(--text-secondary);
}

/* File Options section */
#file-options {
    padding: 15px;
    width: 90%;
    margin: 20px auto;
    box-sizing: border-box;
}

#file-options h4 {
    font-size: 1.1em;
    margin-bottom: 15px;
}

#file-options .form-group {
    margin-bottom: 10px;
}

#file-options .form-group label {
    font-size: 0.85em;
    margin-bottom: 4px;
}

#file-options .form-group input[type="password"],
#file-options .form-group input[type="number"],
#file-options .form-group select {
    padding: 10px 12px;
    font-size: 0.9em;
    width: 100%;
    box-sizing: border-box;
}