/* Temel Ayarlar */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
/* --- FONT TANIMLAMALARI (GÜNCEL) --- */
@font-face {
    font-family: 'TimesNewRoman';
    src: url('./assets/fonts/TimesNewRoman.ttf') format('truetype'); /* Nokta ekledik */
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'OzelFont2';
    src: url('./assets/fonts/OzelFont2.ttf') format('truetype'); /* Nokta ekledik */
    font-weight: normal;
    font-style: normal;
}

body {
    background-color: #f4f7f6;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

/* Giriş Konteynırı */
.login-container {
    background: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.logo img {
    max-width: 150px;
    margin-bottom: 20px;
}

h2 {
    color: #333;
    margin-bottom: 10px;
    font-size: 24px;
}

p {
    color: #666;
    margin-bottom: 25px;
    font-size: 14px;
}

/* Giriş Alanları */
.input-group {
    text-align: left;
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-size: 13px;
    color: #555;
    margin-bottom: 8px;
    font-weight: 600;
}

.input-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 16px; /* Mobilde otomatik zoom yapmaması için en az 16px */
    transition: border-color 0.3s;
    outline: none;
}

.input-group input:focus {
    border-color: #ff6700; /* Trendyol turuncusu gibi bir vurgu */
}

/* KVKK Alanı */
.kvkk-area {
    text-align: left;
    margin-bottom: 25px;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

.checkbox-container input {
    margin-top: 3px;
    margin-right: 10px;
    min-width: 18px;
    min-height: 18px;
}

.kvkk-text a {
    color: #ff6700;
    text-decoration: none;
    font-weight: 600;
}

/* Butonlar */
.main-button {
    width: 100%;
    padding: 15px;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.main-button:active {
    transform: scale(0.98);
}

.main-button.success {
    background-color: #28a745;
    margin-top: 15px;
}

/* SMS Alanı */
#smsArea {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.sms-info {
    font-weight: 600;
    color: #28a745;
    margin-bottom: 15px;
}

/* Hata Mesajı */
.error-msg {
    color: #d9534f;
    font-size: 13px;
    margin-top: 15px;
    font-weight: 600;
}

/* Mobilde klavye açıldığında düzen bozulmasın diye */
@media (max-height: 500px) {
    .login-container {
        margin-top: 20px;
    }
}

/* Dashboard Özel Ayarları */
.dashboard-container {
    background: #ffffff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 500px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.mini-logo { max-height: 30px; }

.order-info {
    font-size: 14px;
    font-weight: 700;
    color: #ff6700;
}

.welcome-section { text-align: left; margin-bottom: 25px; }
.welcome-section h3 { font-size: 20px; color: #333; }
.welcome-section p { margin-bottom: 0; font-size: 13px; }

/* Görev Kartları */
.task-list { display: grid; gap: 15px; margin-bottom: 25px; }

.task-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 12px;
    background: #fafafa;
    transition: 0.3s;
}

.task-icon {
    font-size: 30px;
    margin-right: 15px;
    background: #fff;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.task-details { flex-grow: 1; text-align: left; }
.task-details h4 { font-size: 15px; color: #333; margin-bottom: 3px; }
.task-details p { font-size: 12px; color: #888; margin-bottom: 0; }

.task-btn {
    padding: 8px 15px;
    background: #333;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.task-btn:hover { background: #ff6700; }

#canvasContainer {
    position: relative;
    display: inline-block;
    max-width: 100%;
    margin: 20px auto;
}

#mainCanvas {
    max-width: 100%;
    height: auto;
    border: 1px solid #ddd;
}

#inputOverlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
}

.dynamic-input {
    position: absolute;
    background: rgba(255, 255, 255, 0.1); /* Şeffaf ama dokunulabilir */
    border: 1px dashed #ff6700; /* Test aşamasında görebilmen için */
    text-align: center;
    font-size: 14px;
    outline: none;
    color: transparent; /* Kullanıcı yazarken tuvaldekini görsün */
    caret-color: #ff6700; /* İmleç rengi */
}

.photo-btn {
    background-color: #007bff !important;
    margin-bottom: 15px;
}
.photo-upload-area {
    margin: 15px 0;
}
