.mty-page,.mty-page *{box-sizing:border-box}.mty-page{width:100%;font-family:Roboto,Arial,sans-serif;color:#1c1c1c}.mty-header,.mty-form-card,.mty-admin-card{width:100%;margin:0 0 18px;padding:22px 24px;border:1px solid #dedede;border-radius:6px;background:#fff}.mty-header h2{margin:0 0 9px;font-size:27px}.mty-intro,.mty-intro p,.mty-rules,.mty-rules p{margin:0;color:#555;font-size:14px;line-height:1.65}.mty-rules{margin-bottom:12px}.mty-criteria{margin:0 0 16px;padding:10px 12px;border-left:3px solid #777;background:#f8f8f8;color:#555;font-size:13px}.mty-upload-row{display:flex;align-items:flex-end;gap:14px}.mty-file-wrap{flex:1 1 auto}.mty-file-wrap>label{display:block;margin-bottom:6px;font-weight:600}.mty-file-control{display:flex;align-items:center;min-height:44px;border:1px solid #aaa;border-radius:4px;overflow:hidden}.mty-file-control input[type=file]{position:absolute;width:1px;height:1px;opacity:0}.mty-file-button{display:inline-flex;align-items:center;align-self:stretch;padding:0 14px;border-right:1px solid #aaa;background:#f3f3f3;font-weight:600;cursor:pointer}.mty-file-text{flex:1;padding:0 12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#666}.mty-upload-submit{min-height:44px;padding:10px 18px;border:1px solid #000;border-radius:4px;background:#000;color:#fff;font-weight:600;cursor:pointer}.mty-message{margin:14px 0 0;padding:11px 13px;border-radius:4px}.mty-message.is-success{border:1px solid #b8d8bd;background:#edf7ef;color:#1f5d2b}.mty-message.is-error{border:1px solid #e5b6b6;background:#fdf0f0;color:#9b1c1c}.mty-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}.mty-card{border:1px solid #dedede;border-radius:6px;overflow:hidden;background:#fff}.mty-preview{display:flex;width:100%;aspect-ratio:1/1;border:0;background:#f7f7f7;cursor:pointer}.mty-preview img{width:100%;height:100%;object-fit:contain}.mty-owner{padding:9px 11px 0;font-size:12px;font-weight:600}.mty-card-actions{padding:10px 11px 12px}.mty-delete{padding:7px 12px;border:1px solid #a00;border-radius:4px;background:#fff;color:#a00;font-weight:600;cursor:pointer}.mty-empty{padding:18px;border:1px solid #dedede;border-radius:6px;background:#fff;color:#666}.mty-lightbox[hidden]{display:none!important}.mty-lightbox{position:fixed;z-index:999999;inset:0;display:flex;align-items:center;justify-content:center;padding:32px;background:rgba(0,0,0,.82)}.mty-lightbox-image{max-width:92vw;max-height:88vh}.mty-lightbox-close{position:fixed;top:18px;right:22px;width:44px;height:44px;border:0;border-radius:50%;background:#fff;font-size:28px}.mty-admin-page{max-width:1180px}.mty-admin-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.mty-admin-field{margin-bottom:16px}.mty-admin-field label{display:block;margin-bottom:6px;font-weight:600}.mty-admin-field input{width:100%;min-height:40px}@media(max-width:1200px){.mty-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:900px){.mty-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.mty-admin-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:680px){.mty-header,.mty-form-card,.mty-admin-card{padding:16px}.mty-upload-row{display:block}.mty-upload-submit{width:100%;margin-top:10px}.mty-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.mty-admin-grid{grid-template-columns:1fr}}

/* =========================================================
   1.0.2 — DOSYA SEÇİM ALANI / BUTON HİZASI
   ========================================================= */

@media (min-width: 681px) {
    .mty-upload-row {
        display: flex;
        align-items: flex-end;
        justify-content: flex-start;
        gap: 14px;
        width: 100%;
    }

    .mty-file-wrap {
        flex: 0 1 50%;
        width: 50%;
        max-width: 50%;
        min-width: 0;
    }

    .mty-file-control {
        width: 100%;
        height: 44px;
        min-height: 44px;
    }

    .mty-upload-submit {
        flex: 0 0 auto;
        height: 44px;
        min-height: 44px;
        margin: 0;
        padding-top: 0;
        padding-bottom: 0;
        align-self: flex-end;
    }
}


/* =========================================================
   1.0.3 — DOSYA ALANI + YÜKLE BUTONU KESİN HİZALAMA
   ========================================================= */

.mty-upload-row {
    display: block !important;
    width: 100% !important;
}

.mty-upload-label {
    display: block !important;
    width: 100% !important;
    margin: 0 0 6px !important;
    color: #222 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
}

.mty-upload-controls {
    display: flex !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 14px !important;
    width: 100% !important;
}

.mty-upload-controls .mty-file-control {
    flex: 0 1 50% !important;
    width: 50% !important;
    max-width: 50% !important;
    min-width: 0 !important;
    height: 44px !important;
    min-height: 44px !important;
    margin: 0 !important;
}

.mty-upload-controls .mty-upload-submit {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    align-self: stretch !important;
    box-sizing: border-box !important;
    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    margin: 0 !important;
    padding: 0 18px !important;
    line-height: 1 !important;
}

@media (max-width: 680px) {
    .mty-upload-controls {
        display: block !important;
    }

    .mty-upload-controls .mty-file-control {
        width: 100% !important;
        max-width: none !important;
    }

    .mty-upload-controls .mty-upload-submit {
        width: 100% !important;
        margin-top: 10px !important;
    }
}
