.action-container {
    min-height: calc(100vh - 50px);
    padding-bottom: 20px;
}

/* PhotoSwipe elderly-friendly UI */
.pswp__top-bar {
    height: 64px;
}

.pswp__button {
    width: 56px;
    height: 56px;
    margin: 4px;
    transform: scale(1.25);
    transform-origin: right top;
}

.pswp__button--zoom,
.pswp__button--close {
    transform: scale(1.35);
    transform-origin: right top;
}

.pswp__counter {
    height: 64px;
    line-height: 64px;
    font-size: 20px;
    padding: 0 16px;
    font-weight: 600;
}

.pswp__button--arrow--left,
.pswp__button--arrow--right {
    width: 90px;
    height: 120px;
    margin-top: -60px;
}

.pswp__button--arrow--left:before,
.pswp__button--arrow--right:before {
    top: 45px;
    width: 44px;
    height: 44px;
    background-size: 320px 106px;
}

.pswp__button--arrow--left:before {
    left: 10px;
    background-position: -168px -53px;
}

.pswp__button--arrow--right:before {
    right: 10px;
    background-position: -114px -53px;
}

.action-header {
    display: flex;
    align-items: center;
    padding: 15px;
    background-color: var(--wuye-primary);
    color: white;
    margin: -15px -15px 0;
    padding: 15px;
}

.back-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    margin-right: 10px;
    font-size: 20px;
    color: white;
}

.action-title {
    flex: 1;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    margin-right: 32px;
}

.action-list {
    padding: 15px 0;
}

.action-card {
    background-color: var(--wuye-white);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 12px;
    box-shadow: 0 3px 8px var(--wuye-shadow);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.card-title {
    font-size: 16px;
    font-weight: bold;
    color: var(--wuye-text);
}

.card-status {
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 10px;
}

.status-pending {
    background-color: #fff7e6;
    color: #fa8c16;
}

.status-progress {
    background-color: #FFF4E8;
    color: var(--wuye-primary);
}

.status-done {
    background-color: #f6ffed;
    color: #52c41a;
}

.card-body {
    font-size: 14px;
    color: var(--wuye-text);
    line-height: 1.6;
}

.card-body p {
    margin-bottom: 5px;
}

.card-time {
    font-size: 12px;
    color: var(--wuye-text-light);
    margin-top: 10px;
}

.card-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
}

.btn {
    display: inline-block;
    padding: 6px 16px;
    font-size: 13px;
    border-radius: 16px;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: var(--wuye-primary);
    color: white;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--wuye-primary);
    color: var(--wuye-primary);
}

.action-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: var(--wuye-text-light);
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 15px;
    color: var(--wuye-primary);
    opacity: 0.35;
}

.empty-text {
    font-size: 1.0625rem;
    color: var(--wuye-text-muted);
}

.action-form {
    padding: 15px;
}

.form-textarea {
    width: 100%;
    min-height: 100px;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    font-size: 14px;
    box-sizing: border-box;
    resize: vertical;
}

.form-textarea:focus {
    outline: none;
    border-color: var(--wuye-primary);
}

.image-uploader {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 10px 0;
}

.upload-item {
    width: 80px;
    height: 80px;
    border: 1px dashed #ddd;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fafafa;
    cursor: pointer;
    position: relative;
}

.upload-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.upload-add {
    font-size: 30px;
    color: #ccc;
}

/* ===== Form Checkbox ===== */
.form-checkbox {
    display: flex;
    align-items: center;
    font-size: 0.9375rem;
    color: var(--wuye-text);
}

.form-checkbox input {
    margin-right: 8px;
    width: 18px;
    height: 18px;
}
