* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    background: #f5faff;
    color: #172b4d;
}

.upload-header {
    height: 65px;
    padding: 0 5%;
    background: #fff;
    border-bottom: 1px solid #e4edf7;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #168bfa;
    font-size: 21px;
    font-weight: 800;
}

.back-link {
    text-decoration: none;
    color: #168bfa;
    font-weight: 600;
}

.upload-container {
    width: 100%;
    max-width: 600px;
    margin: 30px auto;
    padding: 25px;
    background: #fff;
    border: 1px solid #e4edf7;
    border-radius: 16px;
    box-shadow: 0 5px 25px rgba(20, 70, 120, 0.06);
}

.page-heading {
    margin-bottom: 25px;
}

.page-heading h1 {
    font-size: 25px;
    margin-bottom: 7px;
}

.page-heading p {
    color: #718096;
    font-size: 14px;
}

.video-upload-area {
    margin-bottom: 25px;
}

.select-video {
    min-height: 220px;
    border: 2px dashed #a9cffa;
    border-radius: 14px;
    background: #f5faff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    text-align: center;
    padding: 20px;
}

.upload-icon {
    width: 55px;
    height: 55px;
    background: #e1f1ff;
    color: #168bfa;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 35px;
    margin-bottom: 12px;
}

.select-video h3 {
    margin-bottom: 8px;
}

.select-video p,
.select-video small {
    color: #718096;
    font-size: 13px;
    margin-top: 5px;
}

.video-preview {
    text-align: center;
}

.video-preview video {
    display: block;
    width: 100%;
    max-height: 400px;
    background: #000;
    border-radius: 12px;
}

#removeVideo {
    margin-top: 12px;
    border: none;
    background: #ffecec;
    color: #d93030;
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
}

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

.form-group label {
    display: block;
    margin-bottom: 9px;
    font-size: 14px;
    font-weight: 700;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #dce7f3;
    border-radius: 10px;
    outline: none;
    font-family: inherit;
    font-size: 15px;
    color: #172b4d;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #168bfa;
    box-shadow: 0 0 0 3px rgba(22, 139, 250, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.publish-button {
    width: 100%;
    padding: 15px;
    background: #168bfa;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.publish-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.upload-message {
    margin: 12px 0;
    font-size: 13px;
    text-align: center;
}

.upload-message.success {
    color: #07834c;
}

.upload-message.error {
    color: #d93030;
}

.upload-progress {
    margin-bottom: 18px;
}

.progress-track {
    width: 100%;
    height: 9px;
    background: #e5edf7;
    border-radius: 20px;
    overflow: hidden;
}

.progress-bar {
    width: 0%;
    height: 100%;
    background: #168bfa;
    transition: width 0.2s;
}

.upload-progress p {
    font-size: 12px;
    color: #718096;
    margin-top: 7px;
    text-align: center;
}

.upload-note {
    margin-top: 18px;
    text-align: center;
    color: #718096;
    font-size: 12px;
    line-height: 1.5;
}

@media(max-width: 480px) {
    .upload-container {
        margin: 15px auto;
        padding: 18px;
        border-radius: 0;
        border: none;
        box-shadow: none;
    }

    .page-heading h1 {
        font-size: 22px;
    }

    .select-video {
        min-height: 190px;
    }
}