html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif;
    background-image: url('borsaliyorum.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #c9d1d9;
    display: flex;
    flex-direction: column;
}

.header, .nav, .footer {
    flex-shrink: 0;
}

.main-content {
    flex-grow: 1;
    display: flex;
    overflow: hidden;
    position: relative; /* Eklendi */
}

.container {
    background-color: rgba(22, 27, 34, 0.8);
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    position: relative; /* Eklendi */
    z-index: 1; /* Eklendi */
}

.login-form {
    background-color: #161b22;
    border-radius: 6px;
    padding: 20px;
    width: 300px;
    max-width: 100%;
}

.header {
    background-color: #14151a;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative; /* Eklendi */
}

.logo-container {
    display: flex;
    align-items: center;
    z-index: 1; /* Eklendi */
}

.logo {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.site-name {
    font-size: 24px;
    font-weight: bold;
    color: #ffffff;
}

.slogan {
    font-size: 18px;
    color: #FFFFE0;
    position: absolute; /* Değiştirildi */
    left: 50%; /* Eklendi */
    top: 50%; /* Eklendi */
    transform: translate(-50%, -50%); /* Eklendi */
    width: 100%; /* Eklendi */
    text-align: center;
    z-index: 0; /* Eklendi */
}

.search-container {
    position: relative;
    display: inline-block;
}

.search-bar {
    padding: 5px 30px 5px 10px;
    width: 300px;
    background-color: #2a2c35;
    border: 1px solid #3a3d4d;
    color: #e0e0e0;
}

.clear-search {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #a0a0a0;
    cursor: pointer;
    font-size: 18px;
    display: none;
}

.clear-search:hover {
    color: #ffffff;
}

.nav {
    background-color: #22242d;
    padding: 10px 20px;
}

.nav a {
    color: #a0a0a0;
    text-decoration: none;
    margin-right: 15px;
}

.nav a:hover {
    color: #ffffff;
}

.sidebar {
    width: 60px;
    height: 100%;
    background-color: #22242d;
    transition: width 0.3s ease;
    overflow: hidden;
    position: absolute; /* fixed yerine absolute */
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 1000;
}

.sidebar:hover {
    width: 200px;
}

.sidebar a {
    display: flex;
    align-items: center;
    padding: 15px 10px;
    color: #a0a0a0;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
}

.sidebar a i {
    min-width: 40px;
    text-align: center;
}

.sidebar a span {
    display: none;
    margin-left: 10px;
}

.sidebar:hover a span {
    display: inline;
}

.footer {
    background-color: #14151a;
    text-align: center;
    padding: 10px;
    width: 100%;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: #2a2c35;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #3a3d4d;
    width: 80%;
    max-width: 500px;
}

.close {
    color: #a0a0a0;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #ffffff;
    text-decoration: none;
    cursor: pointer;
}

.navbar {
    background-color: #333;
    overflow: hidden;
}

.navbar a {
    float: left;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
}

.navbar a:hover {
    background-color: #ddd;
    color: black;
}

.navbar-right {
    float: right;
}

form {
    display: flex;
    flex-direction: column;
}

.login-form {
    background-color: #161b22;
    border-radius: 6px;
    padding: 20px;
    width: 300px;
}

.form-group {
    margin-bottom: 16px;
}

.form-control {
    width: 100%;
    padding: 5px 12px;
    font-size: 14px;
    line-height: 20px;
    color: #c9d1d9;
    background-color: #0d1117;
    border: 1px solid #30363d;
    border-radius: 6px;
    outline: none;
    box-sizing: border-box;
}

.form-control:focus {
    border-color: #58a6ff;
    box-shadow: 0 0 0 3px rgba(88, 166, 255, 0.3);
}

.forgot-password {
    display: block;
    text-align: right;
    font-size: 12px;
    color: #58a6ff;
    text-decoration: none;
    margin-top: 8px;
}

.btn-primary {
    width: 100%;
    background-color: #238636;
    color: #ffffff;
    border: 1px solid rgba(240, 246, 252, 0.1);
    padding: 5px 16px;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    cursor: pointer;
    border-radius: 6px;
}

.btn-primary:hover {
    background-color: #28a745;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

input {
    padding: 5px 12px;
    font-size: 14px;
    line-height: 20px;
    color: #c9d1d9;
    background-color: #0d1117;
    border: 1px solid #30363d;
    border-radius: 6px;
    margin-bottom: 16px;
}

button {
    background-color: #238636;
    color: #ffffff;
    border: 1px solid rgba(240, 246, 252, 0.1);
    padding: 5px 16px;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    cursor: pointer;
    border-radius: 6px;
}

footer {
    text-align: center;
    margin-top: 40px;
    font-size: 12px;
}

footer a {
    color: #8b949e;
    text-decoration: none;
    margin: 0 8px;
}

@media screen and (max-width: 768px) {
    /* Mobil cihazlar için özel stiller */
    .container {
        width: 100%;
        padding: 0 15px;
    }
    
    /* Diğer mobil-spesifik stiller */
    body {
        font-size: 16px;
    }
    
    h1 {
        font-size: 24px;
    }
    
    /* Diğer font boyutu ayarlamaları */
}

img {
    max-width: 100%;
    height: auto;
}

.create-account {
    text-align: center;
    margin-top: 16px;
    font-size: 14px;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.create-account a {
    color: #58a6ff;
    text-decoration: none;
}

.create-account a:hover {
    text-decoration: underline;
}
.logo-container {
    
    margin-bottom: 20px; /* Logo ile diğer içerikler arasında boşluk */
    
    justify-content: center;
}



/* Diğer stiller aynı kalacak */
