/* Classroom Locations Tasarımı */
.classroom-locations {
    padding: 15px 0;
}

.location-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.location-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.location-icon-large {
    font-size: 32px;
    opacity: 0.9;
}

.location-title h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.location-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    margin-top: 5px;
}

.location-status.active {
    color: #4CAF50;
}

.location-status.inactive {
    color: #f44336;
}

.location-address {
    padding: 15px 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.address-icon {
    color: #666;
    margin-top: 2px;
}

.address-text {
    flex: 1;
    font-size: 14px;
    line-height: 1.5;
}

.coordinates-info {
    padding: 20px;
}

.coord-item, .radius-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 6px;
}

.coord-icon {
    font-size: 16px;
    width: 24px;
    text-align: center;
}

.coord-details {
    flex: 1;
}

.coord-label {
    display: block;
    font-size: 12px;
    color: #666;
    margin-bottom: 2px;
}

.coord-value {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.location-actions {
    padding: 15px 20px;
    border-top: 1px solid #e5e5e5;
}

.map-preview-small {
    margin-bottom: 15px;
}

.map-placeholder-small {
    height: 120px;
    background: #f8f9fa;
    border: 2px dashed #ddd;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.map-placeholder-small:hover {
    background: #f0f0f0;
    border-color: #ccc;
}

.action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.action-buttons .btn {
    flex: 1;
    min-width: 120px;
}

.location-meta {
    padding: 15px 20px;
    background: #f8f9fa;
    border-top: 1px solid #e5e5e5;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 12px;
    color: #666;
}

.meta-item:last-child {
    margin-bottom: 0;
}

.meta-item i {
    width: 16px;
    text-align: center;
}

/* Lokasyon Bulunamadı/Atanmamış Kartları */
.no-location-card {
    text-align: center;
    padding: 40px 20px;
    background: #fff;
    border: 2px dashed #ddd;
    border-radius: 8px;
}

.no-location-icon {
    margin-bottom: 20px;
}

.no-location-card h4 {
    margin-bottom: 10px;
}

.no-location-card p {
    margin-bottom: 20px;
}

.assign-location-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .action-buttons {
        flex-direction: column;
    }

    .action-buttons .btn {
        min-width: auto;
    }

    .assign-location-actions {
        flex-direction: column;
        align-items: center;
    }

    .coord-item {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }
}
