.edit-service-page {
    padding: 20px 0 40px;
    max-width: 980px;
}

.edit-service-header {
    margin-bottom: 22px;
}

.edit-service-header h1 {
    font-size: 42px;
    margin: 0 0 6px;
    line-height: 1.1;
}

.edit-service-header p {
    margin: 0;
    font-size: 18px;
    color: #555;
}

.edit-service-card {
    background: #fff;
    border-radius: 24px;
    padding: 30px 28px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    max-width: 950px;
}

.edit-service-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 22px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full {
    grid-column: 1 / -1;
}

.edit-service-form label {
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 15px;
    color: #222;
}

.edit-service-form input,
.edit-service-form select,
.edit-service-form textarea {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border: 1px solid #d6d6d6;
    border-radius: 12px;
    font-size: 15px;
    background: #fff;
    outline: none;
    box-sizing: border-box;
}

.edit-service-form textarea {
    min-height: 120px;
    height: 120px;
    padding: 12px 14px;
    resize: vertical;
}

.edit-service-form input[type="file"] {
    height: 48px;
    padding: 10px 12px;
}

.edit-service-form input:focus,
.edit-service-form select:focus,
.edit-service-form textarea:focus {
    border-color: #2f3b52;
}

.current-image-box {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    border: 1px solid #dfe3ea;
    border-radius: 12px;
    background: #f7f8fb;
    min-height: 88px;
}

.current-image-box img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid #ddd;
    background: #fff;
}

.no-image-text {
    color: #666;
    font-size: 14px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding-top: 34px;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
}

.checkbox-group label {
    margin: 0;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
}

.form-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 4px;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    font-size: 15px;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #2f3b52;
    color: #fff;
}

.btn-secondary {
    background: #f2f2f2;
    color: #222;
}

.btn-primary:hover,
.btn-secondary:hover {
    opacity: 0.95;
}

@media (max-width: 768px) {
    .edit-service-card {
        padding: 22px 18px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .checkbox-group {
        padding-top: 0;
        min-height: auto;
    }

    .form-actions {
        flex-direction: column;
        align-items: flex-start;
    }
}