body {
    background: #e8f5f9;
    margin: 0;
    font-family: "Inter", sans-serif;
}

.form-row {
    display: flex;
    gap: 20px;
    flex-wrap: nowrap;
}

.form-row .form-group {
    flex: 1;
}

.kod-group {
    flex: 0 0 120px;   /* Kaymayi kesin olarak engeller */
}

.kod-group input {
    width: 100%;      /* Tasmayi engeller */
}

.diagno-title-wrapper {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 10px;
}

.diagno-logo {
    width: 70px;      /* Istediginiz gibi büyütüp küçültebilirsiniz */
    height: 70px;
    object-fit: contain;
}

/* --- KVKK MODAL --- */
.kvkk-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(3px);
    justify-content: center;
    align-items: center;
}

.kvkk-modal-content {
    background: #ffffff;
    width: 90%;
    max-width: 600px;
    padding: 24px;
    border-radius: 14px;
    box-shadow: 0 8px 38px rgba(0,0,0,0.25);
    animation: popup 0.25s ease;
}

@keyframes popup {
    from { transform: scale(0.85); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.kvkk-text {
    max-height: 340px;
    overflow-y: auto;
    background: #f7fcfe;
    border: 1px solid #cfe9f1;
    padding: 14px;
    border-radius: 10px;
    margin: 14px 0;
}

.kvkk-close-btn {
    background: #00a3c7;
    color: #fff;
    border: none;
    padding: 12px 22px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 15px;
}

.kvkk-close-btn:hover {
    background: #0086a5;
}


.kod-group input {
    width: 120px;      /* Daha da daraltmak istersen 80px yapabilirim */
}


.diagno-container {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

.diagno-card {
    width: 95%;
    max-width: 680px;
    background: #ffffff;
    padding: 32px;
    border-radius: 18px;
    box-shadow: 0 8px 28px rgba(0, 134, 179, 0.15);
    border: 1px solid #d9eef5;
}

.diagno-title {
    font-size: 26px;
    font-weight: 700;
    color: #007fa6;
    margin-bottom: 6px;
}

.diagno-subtitle {
    font-size: 15px;
    margin-bottom: 24px;
    color: #49707a;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 18px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group label {
    font-size: 14px;
    margin-bottom: 6px;
    font-weight: 600;
    color: #005f78;
}

input, select {
    background: #f7fcfe;
    border: 1px solid #cfe9f1;
    padding: 12px;
    border-radius: 10px;
    font-size: 15px;
    outline: none;
    transition: all 0.2s ease;
}

input:focus, select:focus {
    border-color: #00a3c7;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 163, 199, 0.15);
}

.checkbox {
    flex-direction: row;
    align-items: center;
}

.checkbox input {
    width: 18px;
    margin-right: 10px;
}

.diagno-button {
    width: 100%;
    padding: 14px;
    background: #00a3c7;
    border: none;
    border-radius: 12px;
    color: #ffffff;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    transition: 0.25s;
}

.diagno-button:hover {
    background: #0086a5;
}

.error-message {
    color: red;
    font-size: 13px;
    margin-top: 4px;
    display: none;
}

@media(max-width: 600px) {
    .form-row {
        flex-direction: column;
    }
}
