*{box-sizing:border-box;}
.clr{clear:both;}
body{margin:0;font-family:Arial,Helvetica,sans-serif;color:#172033;background:#f7f9fc;}
a{text-decoration:none;color:inherit;}
.container{width:min(1180px,calc(100% - 32px));margin:0 auto;}
.gray{color:#999;}

.site_header{background:#fff;border-bottom:1px solid #e5e7eb;position:sticky;top:0;z-index:50;padding-bottom:10px;}
.header_inner{min-height:74px;display:flex;align-items:center;justify-content:space-between;gap:30px;position:relative;}
.logo_area{display:flex;align-items:center;}
.site_logo{display:flex;align-items:center;font-size:24px;font-weight:800;color:#1d4ed8;}
.site_logo img{display:block;width:130px;height:auto;}

.mobile_menu_btn{display:none;border:none;background:#008aa5;color:#fff;width:42px;height:42px;border-radius:8px;font-size:24px;line-height:1;cursor:pointer;align-items:center;justify-content:center;}

.top_menu{display:flex;align-items:center;gap:28px;}
.top_menu > a,.menu_dropdown_btn{color:#008aa5;text-decoration:none;font-weight:700;font-size:17px;background:none;border:none;cursor:pointer;font-family:inherit;transition:.2s;padding:8px 0;}
.top_menu > a:hover,.menu_dropdown_btn:hover,.top_menu > a.active,.menu_dropdown_btn.active{color:#ff7a18;}
.menu_dropdown{position:relative;}
.menu_dropdown_btn::after{content:"";display:inline-block;margin-left:7px;width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translateY(-3px);}
.menu_dropdown.open .menu_dropdown_btn::after{transform:rotate(-135deg) translateY(-1px);}
.menu_dropdown_content{display:none;position:absolute;top:calc(100% + 12px);right:0;min-width:230px;background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:10px;box-shadow:0 18px 45px rgba(15,23,42,.16);z-index:9999;}
.menu_dropdown.open .menu_dropdown_content{display:block;}
.menu_dropdown_content::before{content:"";position:absolute;top:-8px;right:24px;width:14px;height:14px;background:#fff;border-left:1px solid #e5e7eb;border-top:1px solid #e5e7eb;transform:rotate(45deg);}
.menu_dropdown_content a{display:block;padding:12px 14px;border-radius:10px;color:#334155;text-decoration:none;font-size:15px;font-weight:700;transition:.2s;}
.menu_dropdown_content a:hover,.menu_dropdown_content a.active{background:#f1f5f9;color:#ff7a18;}
.menu_dropdown_divider{height:1px;background:#e5e7eb;margin:6px 4px;}

.hero_section{padding:80px 0;background:linear-gradient(135deg,#eef5ff 0%,#fff 55%,#fff7ed 100%);}
.hero_inner{display:grid;grid-template-columns:1.35fr .65fr;align-items:center;gap:48px;}
.hero_badge{display:inline-flex;padding:8px 14px;border-radius:999px;background:#dbeafe;color:#1d4ed8;font-size:14px;font-weight:700;margin-bottom:18px;}
.hero_content h1{margin:0;max-width:760px;font-size:clamp(38px,5vw,64px);line-height:1.05;letter-spacing:-1.5px;}
.hero_content p{max-width:620px;margin:22px 0 0;font-size:19px;line-height:1.7;color:#475569;}
.hero_buttons{display:flex;flex-wrap:wrap;gap:14px;margin-top:34px;}
.primary_button,.secondary_button{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 24px;border-radius:14px;font-weight:800;}
.primary_button{background:#f97316;color:#fff;}
.secondary_button{background:#fff;color:#1d4ed8;border:1px solid #bfdbfe;}
.hero_card{background:#fff;border-radius:28px;padding:30px;box-shadow:0 24px 70px rgba(15,23,42,.12);}
.hero_card h3{margin:0 0 18px;font-size:24px;}
.hero_card ul{list-style:none;padding:0;margin:0;}
.hero_card li{padding:14px 0;border-bottom:1px solid #edf2f7;font-weight:700;color:#334155;}
.hero_card li:last-child{border-bottom:none;}

.how_it_works_section{padding:70px 0;background:#fff;}
.section_title{text-align:center;margin-bottom:38px;}
.section_title h2{margin:0;font-size:38px;}
.section_title p{margin:12px 0 0;color:#64748b;font-size:17px;}
.step_grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;}
.step_box{padding:28px;border-radius:22px;background:#f8fafc;border:1px solid #e2e8f0;}
.step_box span{display:inline-flex;font-size:14px;font-weight:900;color:#f97316;margin-bottom:14px;}
.step_box h3{margin:0 0 10px;font-size:22px;}
.step_box p{margin:0;color:#64748b;line-height:1.6;}

.page_outer{padding:60px 0;}
.register_outer{display:flex;justify-content:center;}
.register_box{width:100%;max-width:600px;background:#fff;padding:40px;border-radius:16px;border:1px solid #eef2f7;box-shadow:0 25px 60px rgba(15,23,42,.08);}
.register_box_teacher{width:100%;max-width:600px;background:#fff;padding:40px;border-radius:16px;border:1px solid #eef2f7;box-shadow:0 25px 60px rgba(15,23,42,.08);}
.register_box h1{margin:0 0 10px;}
.register_desc{margin-bottom:30px;color:#666;}
.form_group{margin:20px 0; padding:10px 0;}
.form_group label{display:block;margin-bottom:8px;font-weight:400;}
.form_group input{height:50px;padding:0 15px;border:1px solid #ddd;border-radius:5px;}
.form_group textarea,.form_group select{padding:12px 15px;border:1px solid #ddd;border-radius:8px;font-family:inherit;}
.form_group textarea{min-height:130px;resize:vertical;}
.btn_primary{display:inline-block;padding:12px 18px;border:none;border-radius:5px;background:#17a2b8;color:#fff;cursor:pointer;font-size:16px;font-weight:600;text-decoration:none;}

.login_choice_box{width:60%;max-width:600px;margin:0 auto;background:#fff;padding:40px;border-radius:16px;border:1px solid #eef2f7;box-shadow:0 25px 60px rgba(15,23,42,.08);}
.login_choice_box h2{text-align:center;margin-bottom:10px;color:#0f172a;}
.login_choice_box p{text-align:center;color:#64748b;margin-bottom:20px;}
.login_choice_box .btn_primary{}
.login_links{margin-top:15px;display:flex;justify-content:space-between;align-items:center;}
.login_links a{font-size:14px;color:#0f172a;}

.alert_box{padding:15px;border-radius:8px;margin-bottom:20px;}
.alert_success{background:#e7f8ec;color:#0d6b2f;}
.alert_error{background:#ffe8e8;color:#b10000;}
.alert_warning{background:#fff4d7;color:#9a6900;}

.modal_overlay{display:none;position:fixed;inset:0;background:rgba(15,23,42,.55);z-index:999;padding:20px;overflow-y:auto;}
.modal_box{display:none;width:100%;max-width:620px;margin:40px auto;background:#fff;border-radius:14px;padding:25px;max-height:calc(100vh - 80px);overflow-y:auto;}
.message_modal_box{max-width:700px;}
.message_list{max-height:280px;overflow-y:auto;background:#f8fafc;border:1px solid #e5e7eb;border-radius:10px;padding:15px;margin-bottom:18px;}
.modal_header{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;}
.modal_header h2{margin:0;}
.modal_header button{border:none;background:none;font-size:30px;cursor:pointer;}

.verify_box{background:#fff8e7;border:1px solid #f4d38a;border-left:5px solid #f97315;border-radius:12px;padding:20px;margin-bottom:25px;}
.verify_box h2{margin:0 0 10px;color:#92400e;}
.verify_box p{margin:0 0 15px;color:#78350f;line-height:1.6;}

.dashboard_tabs{display:flex;gap:10px;margin-bottom:25px;}
.dashboard_tab{display:inline-block;padding:10px 18px;border:1px solid #cbd5e1;border-radius:8px;color:#334155;font-weight:600;text-decoration:none;transition:.2s;}
.dashboard_tab:hover{background:#f8fafc;}
.dashboard_tab.active{background:#0066ff;border-color:#0066ff;color:#fff;}
.dashboard_header{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:25px;}
.dashboard_header h1{margin:0 0 8px;}
.dashboard_header p{margin:0;color:#64748b;}
.listing_limit_notice{float:right;width:30%;padding:12px 16px;border-radius:8px;background:#fff4d7;color:#8a5a00;font-size:14px;font-weight:600;}
.my_listings_outer{display:flex;flex-direction:column;gap:16px;}
.dashboard_listing_item{display:flex;justify-content:space-between;gap:25px;background:#fff;border:2px solid #e5e7eb;border-radius:14px;padding:22px;}
.dashboard_listing_item.listing_active{border-color:#22c55e;}
.dashboard_listing_item.listing_expired,.dashboard_listing_item.listing_cancelled{border-color:#cbd5e1;background:#f8fafc;}
.listing_main_col{flex:1;}
.listing_title{display:inline-block;font-size:20px;font-weight:700;color:#1d4ed8;margin-bottom:8px;}
.listing_cancelled .listing_title,.listing_expired .listing_title{color:#94a3b8;}
.listing_date{font-size:14px;color:#64748b;margin-bottom:12px;}
.listing_desc{margin:0;color:#334155;line-height:1.6;}
.listing_stats_col{width:190px;display:flex;flex-direction:column;align-items:flex-end;gap:12px;}
.listing_status_badge{display:inline-flex;padding:6px 12px;border-radius:999px;font-size:13px;font-weight:700;}
.badge_active{background:#22c55e;color:#fff;}
.badge_cancelled{background:#64748b;color:#fff;}
.badge_expired{background:#cbd5e1;color:#475569;}
.listing_stat{text-align:right;}
.listing_stat strong{display:block;font-size:22px;color:#0f172a;}
.listing_stat span{font-size:13px;color:#64748b;}
.listing_cancel_form{margin-top:8px;}
.listing_cancel_btn{border:none;background:#ef4444;color:#fff;padding:8px 12px;border-radius:7px;cursor:pointer;font-weight:600;}
.empty_dashboard_box{background:#fff;border:1px dashed #cbd5e1;border-radius:14px;padding:30px;text-align:center;}
.empty_dashboard_box h3{margin:0 0 8px;}
.empty_dashboard_box p{margin:0;color:#64748b;}

.settings_grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;}
.settings_card{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:28px;}
.settings_card h2{margin:0 0 22px;font-size:24px;}
.form_btn{padding:10px 15px;margin-top:5px;}
.settings_note{padding:12px 14px;border-radius:8px;font-size:14px;font-weight:600;margin-bottom:18px;}
.warning_note{background:#fff4d7;color:#8a5a00;}
.success_note{background:#e7f8ec;color:#0d6b2f;}

.applications_outer{display:flex;flex-direction:column;gap:16px;}
.application_item{display:flex;justify-content:space-between;gap:24px;background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:22px;}
.application_teacher{flex:1;}
.application_teacher h3{margin:0 0 10px;color:#0f172a;}
.application_teacher p{margin:0 0 12px;color:#475569;line-height:1.6;}
.application_meta{color:#64748b;font-size:14px;}
.application_actions{min-width:150px;display:flex;flex-direction:column;gap:10px;}
.application_fav_btn,.application_message_btn{border:none;border-radius:8px;padding:10px 14px;cursor:pointer;font-weight:700;}
.application_fav_btn{background:#f1f5f9;color:#334155;}
.application_fav_btn.active{background:#f59e0b;color:#fff;}
.application_message_btn{background:#0066ff;color:#fff;}

.message_modal_box{max-width:700px;}
.message_list{max-height:320px;overflow-y:auto;background:#f8fafc;border:1px solid #e5e7eb;border-radius:10px;padding:15px;margin-bottom:18px;}
.message_item{padding:12px;border-radius:10px;margin-bottom:10px;}
.message_item.user_message{background:#dbeafe;margin-left:40px;}
.message_item.teacher_message{background:#fff;border:1px solid #e5e7eb;margin-right:40px;}
.message_sender{font-weight:700;font-size:13px;margin-bottom:5px;}
.message_text{margin:0;line-height:1.5;}
.message_date{margin-top:6px;font-size:12px;color:#64748b;}

/*site: ogretmenler sayfasi*/
.teachers-note{float:left;margin:10px 0;color:#0c90a9;border-radius:10px;padding:8px 0;font-size:14px;font-weight:700;margin-bottom:14px;display:inline-block;}
.teacher_filter_box{background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:12px 22px;margin-bottom:18px;box-shadow:0 20px 50px rgba(15,23,42,.06);}
.teacher_filter_clear{display:inline-block;margin-left:12px;color:#64748b;font-weight:700;}
.teacher_cards_grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;}
.teacher_card{background:#fff;border:1px solid #e5e7eb;border-radius:18px;overflow:hidden;box-shadow:0 18px 45px rgba(15,23,42,.07);}
.teacher_card_image{height:220px;background:#f1f5f9;display:flex;justify-content:center;align-items:center;}
.teacher_card_image img{max-width:100%;height:100%;/*object-fit:cover;*/display:block;}
.teacher_card_body{padding:22px;}
.teacher_card_body h2{margin:0 0 8px;font-size:24px;color:#0f172a;}
.teacher_card_meta{font-weight:800;color:#008aa5;margin-bottom:6px;}
.teacher_card_district{color:#64748b;font-weight:700;margin-bottom:12px;}
.teacher_card_lessons{background:#fff7ed;color:#9a3412;border-radius:999px;padding:8px 12px;font-size:14px;font-weight:700;margin-bottom:14px;display:inline-block;}
.teacher_card_body p{margin:0 0 18px;color:#475569;line-height:1.6;}
.teacher_card_btn{display:inline-flex;align-items:center;justify-content:center;padding:11px 16px;border-radius:10px;background:#0f172a;color:#fff;font-weight:800;}
.teacher_avatar{
width:100%;
height:220px;
display:flex;
align-items:center;
justify-content:center;
font-size:70px;
font-weight:800;
color:#fff;
background:linear-gradient(135deg,#4f46e5,#0ea5e9);
}

.teacher_panel{display:flex;gap:25px;align-items:flex-start;}
.teacher_sidebar{width:260px;min-width:260px;background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:10px;}
.teacher_menu_item{display:block;padding:12px 15px;border-radius:8px;text-decoration:none;color:#334155;font-weight:600;margin-bottom:4px;transition:.2s;}
.teacher_menu_item:hover{background:#f1f5f9;}
.teacher_menu_item.active{background:#0066ff;color:#fff;}
.teacher_content{flex:1;}
.teacher_content .dashboard_listing_item{position:relative;}
.profile_status_box{display:flex;align-items:center;gap:10px;}
.profile_status_active{display:inline-block;width:90%;padding:8px 12px;border-radius:5px;background:#dcfce7;color:#166534;font-weight:700;font-size:14px;}
.profile_status_passive{display:inline-block;width:90%;padding:8px 12px;border-radius:5px;background:#fee2e2;color:#991b1b;font-weight:700;font-size:14px;}
.profile_status_toggle_btn{border:none;border-radius:5px;background:#0f8faa;color:#fff;padding:9px 13px;cursor:pointer;font-weight:700;}

.profile_public_box{width:90%;padding:18px;border-radius:12px;background:#f8fafc;border:1px solid #e5e7eb;margin:18px 0 25px;}
.public_profile_url_box{display:flex;gap:10px;margin-top:12px;}
.public_profile_url_box input{flex:1;height:44px;border:1px solid #ddd;border-radius:8px;padding:0 12px;background:#fff;}
.public_profile_url_box button{border:none;border-radius:8px;background:#0f172a;color:#fff;padding:0 16px;cursor:pointer;font-weight:700;}
.public_profile_preview_link{display:inline-block;margin-top:10px;color:#0066ff;font-weight:700;}
.profile_public_note{margin:10px 0 0;color:#64748b;font-size:14px;}

.teacher_profile_preview{margin-bottom:12px;}
.teacher_profile_preview img{width:120px;height:120px;object-fit:cover;border-radius:50%;border:1px solid #e5e7eb;}
.checkbox_line{display:flex;gap:8px;align-items:center;margin:0 0 18px;color:#334155;font-weight:600;}
.teacher_listing_fav_btn{width:42px;height:42px;border:none;border-radius:50%;background:#f1f5f9;color:#cbd5e1;font-size:22px;cursor:pointer;display:flex;align-items:center;justify-content:center;}
.teacher_listing_fav_btn.active{color:#ef4444;}
.teacher_message_btn{border:none;border-radius:8px;padding:10px 14px;background:#0066ff;color:#fff;cursor:pointer;font-size:14px;font-weight:600;transition:.2s;}
.teacher_message_btn:hover{background:#0052cc;}
.input_prefix_group{display:flex;align-items:center;}
.input_prefix{background:#f5f5f5;border:1px solid #ddd;border-right:none;padding:16px 15px;border-radius:8px 0 0 8px;color:#666;font-size:14px;white-space:nowrap;}
.input_prefix_group input{border-radius:0 8px 8px 0 !important;}
.teacher_profile_image_box{position:relative;display:inline-block;margin-bottom:15px;}
.teacher_profile_image_box img{width:120px;height:120px;object-fit:cover;border-radius:50%;border:1px solid #e5e7eb;}
.delete_teacher_image_btn{position:absolute;top:-8px;right:-8px;width:32px;height:32px;border:none;border-radius:50%;background:#dc2626;color:#fff;cursor:pointer;font-size:20px;font-weight:700;line-height:32px;text-align:center;padding:0;}

.verify_support_btn{border:none;background:none;color:#0066ff;font-weight:700;cursor:pointer;padding:0;text-decoration:underline;font-family:inherit;font-size:inherit;}
.support-note{margin:10px auto;width:100%;text-align:center;font-size:12px;}

.site_footer{background:#0f172a;color:#fff;padding:55px 0 0;margin-top:60px;}
.footer_inner{display:grid;grid-template-columns:2fr 1fr 1fr;gap:35px;}
.footer_col h3,.footer_col h4{margin:0 0 15px;}
.footer_col p{margin:0;color:#cbd5e1;line-height:1.7;}
.footer_col a{display:block;color:#cbd5e1;margin-bottom:10px;}
.footer_col a:hover{color:#fff;}
.footer_bottom{border-top:1px solid rgba(255,255,255,.12);margin-top:35px;padding:20px 0;text-align:center;}
.footer_bottom p{margin:0;color:#94a3b8;font-size:14px;}
.footer-bottom-links{display:flex;justify-content:center;align-items:center;gap:0 10px;}

.form_flex{display:flex;flex-wrap:wrap;gap:20px;align-items:center;}
.col-one{width:100%;}
.col-two{width:calc(50% - 10px);}
.col-three{width:calc(33.333% - 14px);}
.col-four{width:calc(25% - 15px);}
.center{text-align:center;}

.teacher_public_profile{display:flex;gap:35px;align-items:flex-start;}
.teacher_public_left{width:300px;position:sticky;top:20px;}
.teacher_public_right{flex:1;}
.teacher_public_image{width:100%;border-radius:14px;display:block;box-shadow:0 10px 30px rgba(0,0,0,.12);}
.teacher_public_name{text-align:center;margin-top:20px;}
.teacher_public_name h1{font-size:30px;margin-bottom:10px;}
.teacher_public_branch{font-weight:700;color:#0d6efd;margin-bottom:6px;}
.teacher_public_location{color:#777;}
.teacher_public_card{background:#fff;border:1px solid #ececec;border-radius:14px;padding:25px;margin-bottom:20px;box-shadow:0 10px 25px rgba(0,0,0,.05);}
.teacher_public_card h2{margin-bottom:18px;font-size:22px;}

.not_found_box{max-width:620px;margin:0 auto;background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:40px;text-align:center;box-shadow:0 20px 50px rgba(15,23,42,.08);}
.not_found_box h1{margin:0 0 14px;font-size:32px;}
.not_found_box p{margin:0 0 25px;color:#64748b;line-height:1.7;}


@media(max-width:992px){
.teacher_public_profile{flex-direction:column;}
.teacher_public_left{width:100%;position:static;}
.teacher_cards_grid{grid-template-columns:repeat(2,1fr);}
}


@media(max-width:900px){
.header_inner{min-height:70px;display:flex;align-items:center;justify-content:space-between;flex-direction:row;padding:0;gap:16px;}
.mobile_menu_btn{display:flex;flex-shrink:0;margin:0;}
.top_menu{display:none;position:absolute;top:100%;left:0;right:0;width:100%;background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:14px;margin-top:12px;box-shadow:0 18px 45px rgba(15,23,42,.16);z-index:9999;flex-direction:column;align-items:stretch;gap:4px;overflow:visible;}
.top_menu.mobile_open{display:flex;}
.top_menu > a,.menu_dropdown_btn{display:block;width:100%;text-align:left;padding:12px 14px;border-radius:10px;}
.top_menu > a:hover,.menu_dropdown_btn:hover,.top_menu > a.active,.menu_dropdown_btn.active{background:#f1f5f9;color:#ff7a18;}
.menu_dropdown{width:100%;}
.menu_dropdown_content{position:static;min-width:100%;box-shadow:none;border:1px solid #e5e7eb;border-radius:10px;margin-top:4px;padding:6px;}
.menu_dropdown_content::before{display:none;}
.hero_section{padding:54px 0;}
.hero_inner{grid-template-columns:1fr;gap:32px;}
.step_grid{grid-template-columns:1fr;}
.login_choice_box{width:80%;}
}

@media(max-width:768px){
.page_outer{padding:30px 0;}
.register_box,.register_box_teacher{padding:25px;}
.footer_inner{grid-template-columns:1fr;}
.dashboard_header{flex-direction:column;align-items:flex-start;}
   .profile_status_box{width:100%;justify-content:space-between;}
.dashboard_listing_item{flex-direction:column;}
.listing_stats_col{width:100%;display:flex;flex-direction:column;align-items:center;gap:10px;}
.listing_stat{text-align:left;}
.settings_grid{grid-template-columns:1fr;}
.application_item{flex-direction:column;}
.application_actions{width:100%;}
.teacher_panel{flex-direction:column;}
.teacher_sidebar{width:100%;min-width:100%;}

.teacher_cards_grid{grid-template-columns:1fr;}
    .teacher_filter_clear{display:block;margin:12px 0 0;}
    
    .modal_overlay{padding:12px;}
    .modal_box{margin:20px auto;max-height:calc(100vh - 40px);padding:18px;}
    .message_list{max-height:220px;}
    .modal_box .form_btn{position:sticky;bottom:0;width:100%;}

.form_group {padding: 0 0;}
.form_flex {gap: 5px;}
 .col-one,.col-two,.col-three,.col-four{width:100%;}
 
 
}

@media(max-width:520px){
.container{width:min(100% - 24px,1180px);}
.site_logo img{width:118px;}
.hero_content h1{font-size:36px;}
.hero_content p{font-size:17px;}
.hero_buttons a{width:100%;}
.section_title h2{font-size:30px;}
.login_choice_box{width:100%;}
.message_item.user_message{margin-left:0;}
.message_item.teacher_message{margin-right:0;}
}