/* ORİJİNAL HEADER, MENÜ VE FOOTER STİLLERİ */
#header { background-color: #222d56; }
.ministry-logo { float: left; }
.float-end { float: right !important; }
@media (min-width: 992px) { .float-lg-end { float: right !important; } .d-lg-block { display: block !important; } .d-lg-none { display: none !important; } }
#mobile-menu-button { text-decoration: none; font-size: 1rem; width: 2rem; height: 2rem; line-height: 2rem; text-align: center; color: #fff; margin: 2rem 0; background: none; border: none; }
#main-menu { list-style-type: none; padding-left: 0; margin-bottom: 0; float: right; display: block; }
#main-menu > li { position: relative; display: inline-block; font-size: 0.85rem; font-weight: 700; padding-left: 0.75rem; }
#main-menu > li > a { color: #fff; text-transform: uppercase; padding: 0 0 0.5rem; display: inline-block; text-decoration: none; }
#main-menu li a { white-space: nowrap; text-decoration: none; }
#main-menu li:hover > .sub-menu { opacity: 1; visibility: visible; }
#main-menu .sub-menu { z-index: 24; position: absolute; top: 1.75rem; opacity: 0; visibility: hidden; list-style-type: none; padding: 0.5rem; background-color: #fff; transition: opacity 0.3s ease; box-shadow: 0 2px 2px 0 rgba(0,0,0,0.02), 0 1px 5px 0 rgba(0,0,0,0.01); border-top: 3px solid #dcb672; }
#main-menu .sub-menu > li:hover > a { background-color: #e9ecef; color: #212529; }
#main-menu .sub-menu .sub-menu { left: 100%; top: auto; margin-top: -3rem; margin-left: -0.5rem; }
#main-menu .sub-menu-right .sub-menu .sub-menu { left: auto; right: 100%; margin-left: 0; margin-right: -0.5rem; }
#main-menu .sub-menu a { position: relative; display: block; color: #495057; min-width: 12rem; font-size: 0.875rem; font-weight: 400; padding: 0.5rem 1rem; border-radius: 3px; }
@media (max-width: 991.98px) {
    #main-menu { float: none; padding: 1rem 0; display: none; }
    #main-menu.d-block { display: block !important; }
    #main-menu > li { float: none !important; display: block; padding: 0; }
    #main-menu > li > a { padding: 0.5rem; }
    #main-menu a { display: block !important; white-space: normal !important; }
    #main-menu .sub-menu { position: relative; top: auto; display: none; visibility: visible; opacity: 1; background-color: rgba(40, 53, 101, 0.4); padding: 0.5rem; }
    #main-menu .sub-menu a { color: #fff; }
    #main-menu li:hover > .sub-menu { display: block; }
    #main-menu .sub-menu .sub-menu { left: auto !important; right: auto !important; margin-top: 0 !important; margin-left: 0 !important; margin-right: 0 !important; background-color: rgba(40, 53, 101, 0.1); padding: 0.5rem 0; }
    #main-menu .sub-menu .sub-menu a { padding-left: 1.5rem; padding-right: 1.5rem; font-size: 0.75rem; }
}
#header .search-form { margin-top: 0; margin-bottom: 0.75rem; position: relative; }
#header .search-form .search { background-color: transparent; border: 2px solid hsla(0,0%,100%,0.3); color: #fff; padding: 1rem 3rem 1rem 1rem; width: 12rem; height: 50px; border-radius: 25px; }
#header .search-form .search:focus { width: 15rem; outline: 0; border-color: hsla(0,0%,100%,0.6); }
#header .search-form .search-btn { width: 2rem; height: 2rem; line-height: 1.8rem; border-radius: 1rem; font-size: 12px; position: absolute; right: 5px; top: 50%; margin-top: -1rem; background-color: rgba(34,45,86,0.3); color: #fff; border: 0; cursor: pointer; }
.header-language-menu { float: right; padding-left: 0; margin: 0.9rem 1.5rem; list-style: none; }
.header-language-menu li { display: inline-block; padding-right: 0.5rem; }
.header-language-menu a { color: #fff; font-weight: 700; text-decoration: none; }
.header-language-menu a.active { opacity: 0.9; }
#footer { background-color: #1e274b; padding: 30px 0; font-size: 0.875rem; color: #fff; }
#footer .footer-icon { width: 0.875rem; height: 0.875rem; text-align: center; display: inline-block; margin-right: 10px; }
#footer .footer-vimer { background-color: hsla(0, 0%, 100%, 0.05); padding: 10px 10px 10px 50px; margin-top: 30px; position: relative; }
#footer .footer-vimer .footer-vimer-icon { background-color: hsla(0, 0%, 100%, 0.1); height: 40px; width: 40px; position: absolute; line-height: 40px; left: 0; top: 0; text-align: center; }
#footer .footer-vimer .footer-icon { margin-right: 0; transform: rotate(-45deg); }
#footer a { color: #fff; }
#footer .h5, #footer h5 { font-size: 18px; color: #fff; margin-top: 10px; padding-top: 13px; border-top: 1px solid hsla(0, 0%, 100%, 0.2); text-transform: uppercase; }
#footer ul { padding-left: 0; margin-bottom: 0; list-style-type: none; }
#footer ul li { padding: 5px 0; }
#footer ul a { position: relative; color: #fff; display: block; text-decoration: none; }
#footer ul a:before { width: 0; height: 0; border-top: 4px solid transparent; border-bottom: 4px solid transparent; border-left: 4px solid #fff; position: absolute; content: ""; left: 0; top: 50%; margin-top: -5px; font-size: 10px; opacity: 0; visibility: hidden; }
#footer ul a:hover { padding-left: 10px; }
#footer ul a:hover:before { opacity: 1; visibility: visible; }

/* FORM VE MAKBUZ STİLLERİ */
.custom-title { text-align: center; font-weight: 700; color: black; margin-bottom: 2rem; }
.custom-title span { font-size: 2rem; }
.custom-title small { font-size: 1.2rem; color: black; font-weight: 500; }
.form-label { font-weight: 600; color: #2c3e50; margin-bottom: 6px; margin-top: 12px; display: block; }
.buttonChanger { color: white; background-color: #1e274b; width: 100%; padding: 12px; font-size: 1.1rem; border-radius: 8px; border: none; }
.buttonChanger:hover { background-color: #151c38; color: white; }
.uyari { color: rebeccapurple; font-weight: 300; font-size: larger; }
.makbuz-container { max-width: 210mm; margin: 0 auto; background: #fff; border: 1px solid #000; padding: 10mm; box-shadow: 0 5px 15px rgba(0,0,0,.15); color: #000; font-family: 'Times New Roman', Times, serif; overflow-x: auto; }
.resmi-baslik { text-align: center; border-bottom: 3px double #000; padding-bottom: 10px; margin-bottom: 15px; position: relative; min-height: 90px; }
.resmi-baslik .sol-ust-metin { position: absolute; left: 0; top: 0; text-align: left; font-size: 11px; line-height: 1.3; font-weight: bold; }
.resmi-baslik .tckn { font-size: 14px; font-weight: bold; }
.resmi-baslik .bakanlik { font-size: 16px; font-weight: bold; margin: 5px 0; }
.resmi-baslik .baskanlik { font-size: 14px; font-weight: bold; text-transform: uppercase; }
.resmi-baslik .birim { font-size: 13px; font-weight: bold; margin-top: 3px; }
.resmi-baslik .logo-alani { position: absolute; right: 0; top: 0; width: 100px; height: 100px; display: flex; align-items: center; justify-content: center; }
.resmi-baslik .logo-alani img { max-width: 100%; max-height: 100%; border-radius: 50%; border: 1px solid #000; }
.belge-baslik-alani { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 15px; }
.belge-turu { font-size: 16px; font-weight: bold; text-transform: uppercase; }
.seri-no { text-align: right; font-size: 12px; border: 1px solid #000; padding: 5px 10px; line-height: 1.4; }
.makbuz-tablo { width: 100%; border-collapse: collapse; margin-bottom: 15px; table-layout: fixed; }
.makbuz-tablo th, .makbuz-tablo td { border: 1px solid #000; padding: 6px 8px; font-size: 12px; word-wrap: break-word; word-break: break-word; }
.makbuz-tablo th { font-weight: bold; text-align: left; width: 25%; }
.ucret-tablo th { text-align: center; }
.alt-bolum { display: flex; justify-content: space-between; margin-top: 20px; }
.alt-bilgi { width: 60%; font-size: 10px; text-align: justify; line-height: 1.4; }
.imza-alani { width: 35%; text-align: center; font-size: 11px; }
.imza-alani .baslik { font-weight: bold; margin-bottom: 50px; }
.imza-alani .isim { font-weight: bold; text-decoration: underline; margin-top:10px; }
.kase-img { max-height: 90px; max-width: 140px; margin: 0 auto; display:block; }
@media (max-width: 768px) {
    .custom-title span { font-size: 1.4rem; }
    .custom-title small { font-size: 1rem; }
    .container.py-5 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
    .makbuz-container { padding: 10px; border: none; box-shadow: none; }
    .resmi-baslik .sol-ust-metin { position: static; text-align: center; margin-bottom: 10px; }
    .resmi-baslik .logo-alani { position: static; margin: 0 auto 10px; width: 80px; height: 80px; }
    .resmi-baslik { min-height: auto; }
    .belge-baslik-alani { flex-direction: column; align-items: center; text-align: center; gap: 10px; }
    .seri-no { text-align: center; width: 100%; }
    .makbuz-tablo th, .makbuz-tablo td { font-size: 10px; padding: 4px; }
    .alt-bolum { flex-direction: column; }
    .alt-bilgi, .imza-alani { width: 100%; }
    .imza-alani { margin-top: 30px; }
    .iban-container { flex-direction: column; gap: 10px; }
}
@media print {
    @page { margin: 1cm; }
    body { background: #fff !important; padding: 0 !important; margin: 0 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    #header, #footer, .no-print { display: none !important; }
    .makbuz-container { box-shadow: none !important; border: 1px solid #000 !important; margin: 0 auto !important; max-width: 100% !important; width: 100% !important; padding: 15px !important; page-break-inside: avoid; }
    .makbuz-tablo, .alt-bolum { page-break-inside: avoid; }
}