/* --- Custom Oxygen Styling --- */

/* Main Header Container */
#bdx-tech-support {
    background: linear-gradient(to bottom, #183973, #1f56a3);
    color: white;
    position: relative;
}

/* Header Content Area */
#bdx-tech-support .oxygen-header {
    padding: 80px 0 100px 0;
    margin-bottom: -50px;
    min-height: 410px;
}

#bdx-tech-support .oxygen-header h1 {
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
    margin-top: 1.5em;

}

#bdx-tech-support .oxygen-header .lead {
    color: #dbeafe;
    font-size: 18px;
    margin-bottom: 0;
    text-align: center;
}

.slide-content{
    margin-top: -5.5em;
    z-index: 300;
}

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

.card-link:hover {
    text-decoration: none;
}

.card-link:active {
    text-decoration: none;
}


/* Button Row in Header */
#bdx-tech-support .btn-main {
    margin-top: 25px;
}
h1.title{
    display: none;
}
/* Modernize Bootstrap 3 Inputs */
.form-control {
    height: 45px;
    box-shadow: none;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #1f56a3;
    box-shadow: 0 0 0 3px rgba(31, 86, 163, 0.1);
}

/* Custom Cards (replacing Tailwind cards) */
.custom-card {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    border-left: 4px solid transparent;
    transition: transform 0.2s;
}

.custom-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.card-icon {
    font-size: 24px;
    margin-bottom: 15px;
    display: inline-block;
    padding: 10px;
    border-radius: 8px;
}

/* Quick Link Card Colors */
.card-docs {
    border-left-color: #183973;
}

.card-docs .card-icon {
    background-color: #eef2ff;
    color: #183973;
}

.card-forum {
    border-left-color: #1f56a3;
}

.card-forum .card-icon {
    background-color: #eff6ff;
    color: #1f56a3;
}

.card-video {
    border-left-color: #4f46e5;
}

.card-video .card-icon {
    background-color: #eef2ff;
    color: #4f46e5;
}

/* Main Form Container */
.form-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    padding: 40px;
    margin-bottom: 50px;
    border: 1px solid #eee;
}

.section-bg {
    background-color: #f9fafb;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #f3f4f6;
    margin-bottom: 25px;
}

.section-bg-blue {
    background-color: #eff6ff;
    border-color: #dbeafe;
}

/* Custom Button */
.btn-oxygen {
    background: linear-gradient(to right, #183973, #1f56a3);
    color: white;
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 6px;
    font-size: 16px;
    transition: opacity 0.3s;
}

.btn-oxygen:hover,
.btn-oxygen:focus {
    color: white;
    opacity: 0.9;
}

.btn-oxygen:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Helpers */
.mb-20 {
    margin-bottom: 20px;
}

.mb-10 {
    margin-bottom: 10px;
}

.mt-30 {
    margin-top: 30px;
}

.text-blue {
    color: #183973;
}

.required-star {
    color: #dc3545;
}

/* Search Input in Header */
.header-search {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.header-search input {
    border-radius: 30px;
    padding-left: 20px;
    padding-right: 50px;
    border: none;
    height: 50px;
}

.header-search button {
    position: absolute;
    right: 5px;
    top: 5px;
    height: 40px;
    width: 40px;
    border-radius: 50%;
    border: none;
    background: #183973;
    color: white;
}

/* Radio Buttons styled as Cards */
.radio-option {
    display: inline-block;
    margin-right: 15px;
    margin-bottom: 10px;
    background: #f8fafc;
    padding: 8px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    cursor: pointer;
}

.radio-option:hover {
    background: #eff6ff;
}

.radio-option input {
    margin-right: 5px;
    vertical-align: text-top;
}

/* Glyphicon adjustments */
.glyphicon {
    line-height: 1;
}

/* Spin animation for loading */
.glyphicon-refresh-animate {
    -webkit-animation: spin .7s infinite linear;
    animation: spin .7s infinite linear;
}

@keyframes spin {
    from {
        transform: scale(1) rotate(0deg);
    }

    to {
        transform: scale(1) rotate(360deg);
    }
}

@-webkit-keyframes spin {
    from {
        -webkit-transform: scale(1) rotate(0deg);
    }

    to {
        -webkit-transform: scale(1) rotate(360deg);
    }
}

/* Upload Dropzone */
.upload-dropzone {
    border: 2px dashed #ddd;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    background: #fafafa;
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-dropzone:hover {
    border-color: #1f56a3;
    background: #f0f7ff;
}

.upload-dropzone.drag-over {
    border-color: #28a745;
    background: #e8f5e9;
    border-style: solid;
    cursor: copy;
}

.upload-dropzone.drag-over * {
    pointer-events: none;
}

/* File name display with remove button */
#file-name {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

#file-name .file-name-text {
    word-break: break-all;
}

#file-name .remove-file {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 17px;
    height: 17px;
    background: #1f55a2;
    color: white;
    border-radius: 50%;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1;
    flex-shrink: 0;
    margin-left: 4px;
}

#file-name .remove-file:hover {
    background: #183973;
    transform: scale(1.1);
}

/* Upload Progress Bar Styles */
.upload-progress-container {
    margin-top: 15px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.upload-progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 14px;
}

#upload-progress-text {
    color: #1f56a3;
    font-weight: 500;
}

#upload-progress-percent {
    color: #183973;
    font-weight: 600;
}

.upload-progress-bar {
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.upload-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(to right, #1f56a3, #183973);
    border-radius: 4px;
    transition: width 0.3s ease;
    position: relative;
}

.upload-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    animation: progressShine 1.5s infinite;
}

@keyframes progressShine {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.upload-progress-details {
    margin-top: 8px;
    font-size: 12px;
    color: #64748b;
    text-align: center;
}

/* Progress complete state */
.upload-progress-fill.complete {
    background: linear-gradient(to right, #22c55e, #16a34a);
}

.upload-progress-container.complete {
    border-color: #bbf7d0;
    background: #f0fdf4;
}

.upload-progress-container.complete #upload-progress-text {
    color: #16a34a;
}

.upload-progress-container.complete #upload-progress-percent {
    color: #15803d;
}

/* Progress error state */
.upload-progress-container.error {
    border-color: #fecaca;
    background: #fef2f2;
}

.upload-progress-container.error .upload-progress-fill {
    background: #ef4444;
}

.upload-progress-container.error #upload-progress-text {
    color: #dc2626;
}

.upload-progress-container.error #upload-progress-percent {
    color: #b91c1c;
}