﻿body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: url('../images/Asset1.png') no-repeat center center fixed;
    background-size: cover;
}

/* Genel container düzeni */
.main-container {}

.sol-container {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 600px; /* mobilde çok uzun olmasın */
}

.logo-container {
    position: absolute;
    top: 0;
    height: 20%;
    min-height: 100px;
}

.logo {
    margin: 20px 0 0 20px;
}

.content-area 
{
    margin-top:30px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: fit-content;
}

/* Person */
.person-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    aspect-ratio: 1 / 1; /* kare oran korunsun */
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.person-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.15));
}

.chat-bubbles {
    position: absolute;
    top: 0;
    z-index: 5;
    width: 40%;
    height: 37%;
}

.chat-bubbles img {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.1));
}

/* Sağ taraf */
.sag-container 
{
    min-height: 600px !important;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Kart */
.card-container 
{
    margin: 30px 0px; 
    height:90%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 600px;
    min-height: fit-content !important;
    max-height: 1400px;
    border-radius: 15px;
    padding: 25px;
    overflow: hidden;
}

.card-container::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: inherit;
    background: url('../images/Asset20.png') no-repeat center center;
    background-size: cover;
    opacity: 0.9;
    z-index: 0;
    min-height:600px;
}

.card-container > * {
    position: relative;
    z-index: 1;
}
.card-top
{
    height:100%;
    width:100%;
    display:flex;
    justify-content: center;
    align-items: center;
    }

/* Form */
.form-header {
    width: 100%;
    text-align: center;
    margin-bottom: 40px;
}

.form-logo {
    margin-bottom: 20px;
}

.form-logo img {
    width: auto;
    height: 50px;
}

.form-subtitle {
    color: #666;
    font-size: 16px;
    margin-bottom: 30px;
    font-weight: 400;
}

.social-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 25px;
}

.social-btn {
    height: 41px;
    padding: 14px 16px;
    border: 1px solid #666;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    cursor: pointer;
    font-size: 14px;
    color: #555;
    font-weight: 500;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.social-btn:hover {
    background: #f8f9fa;
    border-color: #d0d0d0;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.google-icon {
    width: 18px;
    height: 18px;
    background: #4285f4;
    border-radius: 2px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 12px;
}

.apple-icon {
    width: 18px;
    height: 18px;
    color: #333;
    font-size: 16px;
}

/* Divider */
.divider {
    text-align: center;
    margin: 25px 0;
    color: #666;
    font-size: 14px;
    position: relative;
    font-weight: 400;
}

.divider::before,
.divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 35%;
    height: 1px;
    background: #e0e0e0;
}

.divider::before { left: 0; }
.divider::after { right: 0; }

/* Input */
.form-group { margin-bottom: 10px;margin-top:7px; }

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

.form-input 
{
    height:47px;
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #666;
    border-radius: 6px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: transparent;
    color: #333;
}

.form-input:focus {
    border-color: #e91e63;
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
}

.form-input::placeholder {
    color: #999;
    font-size: 14px;
}

.password-group { position: relative; }

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 16px;
    padding: 4px;
}

/* Opsiyonlar */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkbox {
    width: 20px;
    height: 20px;
    accent-color: #e91e63;
}

.checkbox-label {
    font-size: 14px;
    color: #666;
    font-weight: 400;
}

.forgot-password {
    color: #4285f4;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.forgot-password:hover { text-decoration: underline; }

/* Butonlar */
.login-btn {
    width: 100%;
    padding: 16px;
    background: #e91e63;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 25px;
    transition: background 0.2s ease, transform 0.1s ease;
    box-shadow: 0 2px 4px rgba(233, 30, 99, 0.2);
}

.login-btn:hover {
    background: #c2185b;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(233, 30, 99, 0.3);
}

.signup-link {
    text-align: center;
    font-size: 14px;
    color: #666;
    font-weight: 400;
}

.signup-link a {
    color: #4285f4;
    text-decoration: none;
    font-weight: 500;
}

.signup-link a:hover { text-decoration: underline; }

/* Footer */
.card-footer {
    width: 100%;
    display: flex;
    justify-content: space-between;
    height: 50px;
}

.card-footer a { font-size: 14px; }
.btn-custom { font-size: 14px; }

.ortalama{width:100%; height:fitcontent; display:flex; justify-content: space;}

/* 📱 Media Queries */
@media (max-width: 991px) {
  .person-container {
    max-width: 400px;
  }
  .sol-container {
    min-height: 500px;
  }
  .card-container {
    font-size: 12px;
    min-height: 500px;
  }
}

@media (max-width: 550px) {
  .person-container {
    max-width: 300px;
  }
  .sol-container {
    min-height: 400px;
  }
  .card-container {
    padding: 15px;
  }
}
