/* GENEL DÜZEN */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.page-header h1 {
    font-size: 1.5rem;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-back {
    background-color: #f1f5f9;
    color: #64748b;
    padding: 8px 15px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s;
}
.btn-back:hover {
    background-color: #e2e8f0;
    color: #334155;
}

/* BİLGİLENDİRME KUTUSU */
.info-box {
    background-color: #eff6ff;
    border: 1px solid #dbeafe;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.info-box .icon {
    font-size: 2rem;
    color: #2563eb;
    padding-top: 5px;
}

.info-box .content h3 {
    margin: 0 0 10px 0;
    color: #1e3a8a;
    font-size: 1.1rem;
}

.info-box .content p {
    margin: 0 0 5px 0;
    color: #3b82f6;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* GRID YAPISI */
.grid-layout {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 25px;
    align-items: start;
}

@media (max-width: 900px) {
    .grid-layout {
        grid-template-columns: 1fr;
    }
}

/* KART TASARIMI */
.card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.card-header {
    background: #f8fafc;
    padding: 15px 20px;
    border-bottom: 1px solid #e2e8f0;
}

.card-header h2 {
    margin: 0;
    font-size: 1.1rem;
    color: #334155;
    font-weight: 700;
}

.card-body {
    padding: 20px;
}

/* FORM ELEMENTLERİ */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #475569;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group label i {
    margin-right: 5px;
    color: #94a3b8;
}

.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 1rem;
    outline: none;
    transition: 0.2s;
    background-color: #fff;
}

.form-group select:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: #94a3b8;
    font-size: 0.8rem;
}

/* BAĞLANTI İKONU (FORM ORTASI) */
.connection-icon {
    text-align: center;
    color: #cbd5e1;
    margin: 15px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.connection-icon span {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #94a3b8;
}

.btn-save {
    width: 100%;
    background-color: #10b981;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.2s;
    margin-top: 10px;
}

.btn-save:hover {
    background-color: #059669;
}

/* TABLO TASARIMI */
.match-table {
    width: 100%;
    border-collapse: collapse;
}

.match-table th {
    text-align: left;
    padding: 12px 15px;
    border-bottom: 2px solid #e2e8f0;
    color: #64748b;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.match-table td {
    padding: 15px;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}

.match-table tr:last-child td {
    border-bottom: none;
}

.item-name {
    font-weight: 600;
    color: #1e293b;
    font-size: 0.95rem;
}

.item-code {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-top: 2px;
}

.arrow-cell {
    text-align: center;
    color: #cbd5e1;
    font-size: 1.2rem;
}

.btn-delete {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fee2e2;
    color: #dc2626;
    border-radius: 6px;
    text-decoration: none;
    transition: 0.2s;
}

.btn-delete:hover {
    background-color: #dc2626;
    color: white;
}

.empty-state {
    text-align: center;
    padding: 40px;
    color: #94a3b8;
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.5;
}