/* Genel Stil Resetleri ve Temel Ayarlar */
body {
    font-family: 'Open Sans', sans-serif; /* Gövde metni fontu */
    background-color: #F8F9FA; /* Nötr arka plan */
    color: #6C757D; /* Temel metin rengi */
    margin: 0;
    padding: 0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

h1, h2 {
    font-family: 'Montserrat', sans-serif; /* Başlık fontu */
    color: #212529; /* Başlık rengi */
    margin-top: 0;
    margin-bottom: 20px;
}

/* Form Elemanları ve Butonlar */
.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #212529;
}

input[type="text"],
input[type="email"],
input[type="password"],
select {
    width: calc(100% - 22px); /* Padding'i hesaba kat */
    padding: 10px;
    border: 1px solid #CED4DA;
    border-radius: 5px;
    font-size: 1rem;
    color: #212529;
}

.btn-primary {
    background-color: #0056B3; /* Birincil renk */
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    width: 100%;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #004085; /* Birincil rengin koyu tonu */
}

.btn-secondary {
    background-color: #00C29E; /* İkincil renk */
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.btn-secondary:hover {
    background-color: #00A382; /* İkincil rengin koyu tonu */
}

.error-message {
    color: #DC3545; /* Kırmızı hata mesajı */
    margin-top: 15px;
    font-size: 0.9rem;
    font-weight: bold;
}

/* Login/Register Özel Stiller */
.login-container, .register-container {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Dashboard Stilleri */
.app-header {
    background-color: #FFFFFF;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand h1 {
    font-size: 1.5rem;
    margin-bottom: 0;
}

.user-profile {
    display: flex;
    align-items: center;
}

.user-profile span {
    margin-right: 15px;
    font-weight: 600;
}

.app-main {
    padding-top: 40px;
    padding-bottom: 40px;
}

.section {
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.call-records-grid {
    display: grid;
    gap: 20px;
}

.call-card {
    background-color: #F8F9FA;
    border: 1px solid #E9ECEF;
    border-radius: 8px;
    padding: 20px;
}

/* Detay Modal */
.modal {
    display: none; /* Varsayılan olarak gizli */
    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: #fefefe;
    margin: 10% auto;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    position: relative;
}

.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

/* Responsive Düzenlemeler */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    .user-profile {
        margin-top: 15px;
    }
    .call-records-grid {
        grid-template-columns: 1fr;
    }
    .modal-content {
        width: 90%;
    }
}