.op-upload-document {
    max-width: 900px;
    margin: 30px auto 60px;
    background: #ffffff;
    border-radius: 18px;
    padding: 35px;
    box-shadow: 0 8px 25px rgba(0,0,0,.06);
}

.op-upload-header h2 {
    margin: 0 0 8px;
    color: #4d2d7d;
    font-size: 30px;
}

.op-upload-header p {
    margin: 0 0 30px;
    color: #666;
}

.op-upload-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.op-form-field {
    display: flex;
    flex-direction: column;
}

.op-form-field label {
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.op-form-field label span {
    color: #e63946;
}

.op-form-field input,
.op-form-field select,
.op-form-field textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #d9d9d9;
    border-radius: 9px;
    padding: 12px 14px;
    font-size: 14px;
    background: #fff;
}

.op-form-field textarea {
    resize: vertical;
}

.op-form-field input:focus,
.op-form-field select:focus,
.op-form-field textarea:focus {
    outline: none;
    border-color: #4d2d7d;
    box-shadow: 0 0 0 2px rgba(77,45,125,.08);
}

.op-form-field small {
    margin-top: 7px;
    color: #777;
}

.op-upload-form .op-form-field:nth-child(4),
.op-upload-form .op-form-field:nth-child(6) {
    grid-column: 1 / -1;
}

.op-form-actions {
    grid-column: 1 / -1;
    display: flex;
    gap: 12px;
    margin-top: 5px;
}

.op-form-actions .op-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 45px;
    padding: 0 25px;
    border: 0;
    border-radius: 8px;
    background: #4d2d7d;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}

.op-form-actions .op-btn:hover {
    background: #3d2363;
    color: #fff;
}

.op-form-actions .op-btn-secondary {
    background: #f2f2f2;
    color: #333;
}

.op-form-actions .op-btn-secondary:hover {
    background: #e5e5e5;
    color: #333;
}

.op-success-message {
    margin-bottom: 22px;
    padding: 13px 16px;
    border-radius: 8px;
    background: #e7f8ed;
    color: #18743b;
    border: 1px solid #bde7ca;
}

.op-error-message {
    margin-bottom: 22px;
    padding: 13px 16px;
    border-radius: 8px;
    background: #fff0f0;
    color: #b42318;
    border: 1px solid #f2b8b5;
}

.op-no-access {
    max-width: 700px;
    margin: 50px auto;
    padding: 35px;
    text-align: center;
    background: #fff;
    border-radius: 15px;
}

@media (max-width: 700px) {

    .op-upload-document {
        margin: 20px;
        padding: 24px;
    }

    .op-upload-form {
        grid-template-columns: 1fr;
    }

    .op-upload-form .op-form-field:nth-child(4),
    .op-upload-form .op-form-field:nth-child(6) {
        grid-column: auto;
    }

    .op-form-actions {
        grid-column: auto;
        flex-direction: column;
    }

    .op-form-actions .op-btn {
        width: 100%;
    }
}