﻿body {
    padding-top: 50px;
    padding-bottom: 20px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}


:root {
    --glass-bg: rgba(255,255,255,0.06);
    --glass-strong: rgba(255,255,255,0.10);
    --accent-1: #28a8ff;
    --accent-2: #6b8cff;
    --card-radius: 18px;
}

html, body {
    height: 100%;
    margin: 0;
    font-family: "SF Pro Text", -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    background: linear-gradient(180deg, #0f1724 0%, #071022 100%);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* overall wrapper */
.wrap-combined {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    box-sizing: border-box;
}

/* container holds both forms */
.combined-container {
    width: 100%;
    max-width: 1200px;
    display: flex;
    gap: 24px;
    align-items: stretch;
    justify-content: center;
    padding: 22px;
    box-sizing: border-box;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
    box-shadow: 0 8px 30px rgba(2,6,23,0.6);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
}

/* each card keeps original inner structure intact */
.combined-card {
    flex: 1 1 420px;
    min-width: 320px;
    border-radius: var(--card-radius);
    padding: 20px;
    box-sizing: border-box;
    background: linear-gradient(180deg, var(--glass-bg), rgba(255,255,255,0.03));
    border: 1px solid rgba(255,255,255,0.04);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

    /* subtle top headers (we don't change original spans/h1 etc) */
    .combined-card .login100-form-title,
    .combined-card h3, .combined-card .logo-w3 {
        color: #fff;
        text-shadow: 0 6px 18px rgba(0,0,0,0.6);
    }

/* make sure original .input100 & selects are responsive and don't overflow */
input.input100, input[type="text"], input[type="password"], select.form-control, .wrap-input100 .input100 {
    width: 100% !important;
    box-sizing: border-box;
    max-width: 100%;
    border-radius: 12px !important;
    border: none !important;
    background: rgba(255,255,255,0.04) !important;
    color: #fff !important;
    outline: none !important;
    font-size: 15px !important;
    -webkit-appearance: none;
    margin-bottom: 14px;
}

    /* focus glow without changing class names */
    input.input100:focus, input[type="password"]:focus, select.form-control:focus {
        box-shadow: 0 6px 22px rgba(66,153,255,0.12), inset 0 1px 0 rgba(255,255,255,0.02);
        background: rgba(255,255,255,0.055) !important;
    }

/* make submit buttons consistent but keep original classes intact */
.login100-form-btn, input[type="submit"], .login100-form-btn:focus, .login100-form-btn:hover {
    width: 100%;
    padding: 11px 16px;
    border-radius: 12px;
    border: none;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
    box-shadow: 0 10px 30px rgba(43,120,255,0.12);
    transition: transform .18s ease, box-shadow .18s ease;
}

    .login100-form-btn:hover {
        transform: translateY(-3px);
    }

/* QR image responsiveness */
.combined-card img.img-fluid {
    display: block;
    margin: 12px auto;
    max-width: 150px;
    width: auto;
    height: auto;
}

/* small helpers */
.text-center {
    text-align: center;
}

.mb-1 {
    margin-bottom: 8px;
}

.mt-3 {
    margin-top: 16px;
}

/* popup and whatsapp (kept names identical) */
.whatsapp {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    z-index: 100;
}

.whatsapp-icon {
    margin-top: 13px;
}

.popup {
    position: fixed;
    top: 10px;
    right: 10px;
    background-color: #4CAF50;
    color: white;
    padding: 12px 16px;
    border-radius: 8px;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.45s ease;
    font-weight: 600;
}

    .popup.show {
        opacity: 1;
    }

/* preserve original #js-mesaj alert look but ensure it wraps */
#js-mesaj {
    display: none;
    margin-top: 10px;
    word-wrap: break-word;
    white-space: normal;
}

/* responsive: stacked on small screens */
@media (max-width: 992px) {
    .combined-container {
        flex-direction: column;
        padding: 18px;
    }

    .combined-card {
        width: 100%;
    }
}

/* ensure canvas used by particles stays behind */
#myCanvas {
    width: 100%;
    height: 120px;
    display: block;
    border-radius: 12px;
    pointer-events: none;
    opacity: 0.12;
    filter: blur(0.6px);
}
/* Dropdown içindeki seçenekler için */
select.form-control option {
    color: #000 !important; /* Siyah yazı */
    background-color: #fff !important; /* Beyaz arka plan */
}

/* Dropdown genişliğini artırmak */
.select-wrapper {
    width: 100% !important; /* Container genişliği */
    max-width: 500px; /* İstersen burayı artırabilirsin */
    display: inline-block;
    /* Kayıt formu başlığı stili */
}

.kayit_logo {
    font-size: 24px;
    font-weight: 400;
    text-align: center;
    color: orangered;
    margin-bottom: 20px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}


@media screen and (max-width: 768px) {
    .kayit_logo {
        font-size: 22px;
        margin-bottom: 15px;
    }
}






/* keep any original classes not explicitly styled still functional */


/*gece gündüz teması*/


/* Tema butonu */
/* 🌗 Tema geçiş butonu (sol üstte) */
.theme-toggle {
    position: fixed;
    top: 20px;
    left: 25px;
    background: rgba(255,255,255,0.2);
    border: none;
    color: #fff;
    font-size: 22px;
    border-radius: 50%;
    padding: 10px 12px;
    cursor: pointer;
    z-index: 1000;
    transition: background 0.3s, transform 0.3s;
}

    .theme-toggle:hover {
        background: rgba(255,255,255,0.4);
        transform: rotate(15deg);
    }

/* 🌙 GECE MODU */
body.dark-mode,
body.dark-mode .container-login100,
body.dark-mode .wrap-login100 {
    background: radial-gradient(circle at top left, #0b0f1a, #1c1c1c) !important;
    color: #e0e0e0 !important;
}

    /* Form alanları */
    body.dark-mode .form-container {
        background: rgba(30, 30, 30, 0.6) !important;
        box-shadow: 0 0 25px rgba(0, 0, 0, 0.7) !important;
    }

    body.dark-mode input,
    body.dark-mode button {
        background: rgba(50, 50, 50, 0.85) !important;
        color: #fff !important;
        border: 1px solid rgba(255,255,255,0.1) !important;
    }

        body.dark-mode button:hover {
            background: rgba(90, 90, 90, 0.9) !important;
        }

    /* Metin ve etiketler */
    body.dark-mode h2,
    body.dark-mode label,
    body.dark-mode .txt1,
    body.dark-mode .txt2 {
        color: #f0f0f0 !important;
    }

/* Yumuşak geçiş efekti */
body,
.container-login100,
.wrap-login100,
.form-container,
input,
button {
    transition: background 0.4s ease, color 0.4s ease !important;
}


/*gece gündüz teması son*/

/*  giriş animasyonu*/

.success-popup {
    position: fixed;
    top: 25%;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    background: rgba(0, 123, 255, 0.2); /* mavi tonlu glass */
    backdrop-filter: blur(12px); /* blur efekti */
    border: 1px solid rgba(0, 123, 255, 0.4); /* mavi border */
    padding: 25px 50px;
    border-radius: 20px;
    box-shadow: 0 12px 24px rgba(0,0,0,0.3);
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    z-index: 9999;
    min-width: 300px;
    max-width: 500px;
    text-align: center;
    color: #fff;
    font-family: 'Segoe UI', sans-serif;
}

    .success-popup.show {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

/* giriş animasyonu*/
