.admin-body {
    background: #f2f7fc;
}
.admin-shell {
    max-width: 1320px;
}
.admin-header {
    background: #fff;
    border: 1px solid #dce8f3;
    border-radius: 16px;
    padding: 26px 30px;
    box-shadow: 0 8px 30px #15365305;
}
.admin-header h1 {
    font-size: 35px;
}
.admin-tabs {
    background: #fff;
    border: 1px solid #dce8f3;
    padding: 15px 22px;
    border-radius: 12px;
    flex-wrap: wrap;
}
.admin-tabs a {
    font-weight: 600;
    color: #366581;
    font-size: 13px;
}
.editor-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    margin: 35px 0 25px;
}
.editor-heading h2 {
    font-size: 35px;
}
.editor-heading p {
    margin-top: 10px;
    font-size: 13px;
}
.itinerary-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    background: #fff;
    border: 1px solid #dce8f3;
    border-radius: 12px;
    padding: 18px;
}
.itinerary-toolbar form {
    display: flex;
    gap: 12px;
    flex: 1;
}
.itinerary-toolbar input {
    border: 1px solid #d4e5f3;
    border-radius: 8px;
    padding: 12px 15px;
    flex: 1;
    max-width: 450px;
    min-width: 0;
}
.itinerary-toolbar .button {
    padding: 11px 18px;
}
.admin-scroll {
    background: #fff;
    border: 1px solid #dce8f3;
    border-radius: 12px;
}
.itinerary-table th {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 17px;
}
.itinerary-table td {
    padding: 20px 17px;
    vertical-align: middle;
}
.itinerary-name {
    display: flex;
    gap: 16px;
    min-width: 260px;
    align-items: center;
}
.itinerary-name img {
    width: 80px;
    height: 65px;
    border-radius: 9px;
}
.itinerary-name strong {
    font-size: 13px;
    color: #193c5c;
    display: block;
}
.itinerary-name small {
    display: block;
    color: #6a8296;
    margin-top: 5px;
    font-size: 10px;
    max-width: 360px;
}
.status-pill {
    display: inline-flex;
    white-space: nowrap;
    border-radius: 25px;
    font-size: 10px;
    font-weight: 700;
    padding: 5px 10px;
}
.status-pill.published {
    background: #e1f2ff;
    color: #126daa;
}
.status-pill.draft {
    background: #edf0f4;
    color: #6a7e8e;
}
.row-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}
.edit-link {
    font-weight: 600;
    color: #1675ba;
}
.delete-link {
    color: #b44253;
    font-weight: 600;
}
.editor-section {
    padding: 28px;
    background: #fff;
    border: 1px solid #dce8f3;
    border-radius: 15px;
    margin-bottom: 24px;
    min-width: 0;
}
.editor-section-title {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}
.editor-section-title h3 {
    font-size: 19px;
}
.editor-section-title p {
    font-size: 11px;
    margin-top: 5px;
}
.editor-number,
.language-badge {
    display: grid;
    place-items: center;
    min-width: 45px;
    height: 42px;
    padding: 0 9px;
    background: #e9f5ff;
    color: #1675ba;
    font-size: 13px;
    font-weight: 700;
    border-radius: 10px;
}
.editor-languages {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}
.itinerary-editor .form-grid {
    margin-top: 0;
}
.itinerary-editor .form-grid label {
    min-width: 0;
}
.itinerary-editor .form-grid .full {
    grid-column: 1/-1;
}
.itinerary-editor .form-grid label:last-child {
    grid-column: 1/-1;
}
.itinerary-editor .form-grid select {
    width: 100%;
    min-width: 0;
    border: 1px solid #cfe2f1;
    border-radius: 7px;
    padding: 12px;
    margin-top: 6px;
    font-size: 12px;
    background: #fff;
}
.itinerary-editor .form-grid textarea {
    height: auto;
    line-height: 1.8;
    min-height: 80px;
}
.itinerary-editor .form-grid small {
    display: block;
    font-size: 10px;
    font-weight: 400;
    color: #6c8196;
    margin-top: 6px;
}
.editor-photo {
    width: 170px;
    height: 105px;
    border-radius: 10px;
    margin-top: 20px;
    border: 1px solid #dce8f3;
}
.publish-switch {
    display: flex;
    gap: 10px;
    align-items: center;
    background: #eff8ff;
    padding: 15px;
    border-radius: 9px;
    margin-top: 20px;
    font-size: 12px;
    font-weight: 600;
}
.publish-switch input {
    accent-color: #1675ba;
    width: 17px;
    height: 17px;
}
.editor-help {
    font-size: 11px;
    margin: 15px 0 0;
}
.editor-savebar {
    position: sticky;
    bottom: 15px;
    background: #fff;
    border: 1px solid #dce8f3;
    border-radius: 12px;
    padding: 17px 22px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 8px 30px #15365314;
    z-index: 3;
    font-size: 12px;
}
.editor-savebar .button {
    margin-left: auto;
}
.delete-panel {
    max-width: 700px;
    background: #fff;
    border: 1px solid #ecdde0;
    border-radius: 15px;
    padding: 40px;
    margin: 40px auto;
}
.delete-panel h2 {
    font-size: 34px;
}
.delete-panel h3 {
    margin: 22px 0;
    font-size: 18px;
}
.delete-panel p {
    margin-bottom: 28px;
}
.delete-panel form {
    display: flex;
    align-items: center;
    gap: 30px;
}
.danger-button {
    background: #b93d53;
}
.danger-button:hover {
    background: #962b3e;
}
.admin-login {
    background: #fff;
    box-shadow: 0 15px 60px #15365312;
}
.admin-login h1 {
    font-size: 34px;
}
.admin-table .row-actions button {
    margin: 0;
    padding: 9px 15px;
}
.admin-tabs a[aria-current='page'] {
    color: #1675ba;
    background: #e8f5ff;
    padding: 3px 10px;
    border-radius: 6px;
}
@media (max-width: 900px) {
    .editor-languages {
        grid-template-columns: 1fr;
    }
    .editor-heading {
        align-items: start;
    }
    .editor-heading h2 {
        font-size: 30px;
    }
    .admin-header {
        padding: 22px;
    }
    .itinerary-toolbar {
        flex-wrap: wrap;
    }
    .itinerary-toolbar form {
        width: 100%;
    }
    .editor-savebar {
        flex-wrap: wrap;
        gap: 13px;
    }
}
@media (max-width: 500px) {
    .admin-shell {
        padding: 0 15px;
        margin-top: 20px;
    }
    .admin-header h1 {
        font-size: 28px;
    }
    .admin-header {
        padding: 20px;
    }
    .admin-tabs {
        gap: 15px;
    }
    .editor-heading {
        flex-direction: column;
        gap: 20px;
    }
    .editor-section {
        padding: 21px;
    }
    .editor-heading h2 {
        font-size: 29px;
    }
    .editor-section-title {
        gap: 10px;
    }
    .editor-section-title h3 {
        font-size: 17px;
    }
    .editor-savebar {
        padding: 15px;
    }
    .editor-savebar .button {
        width: 100%;
        margin: 0;
    }
    .itinerary-toolbar {
        padding: 15px;
    }
    .itinerary-toolbar form {
        flex-wrap: wrap;
    }
    .itinerary-toolbar input {
        width: 100%;
        max-width: none;
    }
    .delete-panel {
        padding: 27px;
    }
    .delete-panel h2 {
        font-size: 28px;
    }
    .publish-switch {
        align-items: flex-start;
    }
    .admin-header form .button {
        padding: 11px 18px;
    }
}
