.workcase-creator-mask {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.workcase-creator {
    max-height: 85vh;
    background-color: #FFFFFF;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    display: flex;
    flex-direction: column;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.creator-header {
    background-color: #FFFFFF;
    padding: 20px 16px 16px;
    border-bottom: 1px solid #F0F0F0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.creator-header::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 4px;
    background-color: #E0E0E0;
    border-radius: 2px;
}

.header-title {
    color: #1F2329;
    font-size: 18px;
    font-weight: 600;
}

.close-btn {
    width: 28px;
    height: 28px;
    border-radius: 14px;
    background-color: #F5F5F5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-icon {
    color: #8F959E;
    font-size: 20px;
    line-height: 1;
}

.creator-content {
    flex: 1;
    background-color: #FFFFFF;
    padding: 16px;
}

.form-item {
    margin-bottom: 24px;
}

.label {
    display: block;
    color: #333333;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 8px;
}

.input, .textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    font-size: 16px;
    background-color: #FAFAFA;
}

.textarea {
    min-height: 100px;
    resize: none;
}

.char-count {
    color: #999999;
    font-size: 12px;
    text-align: right;
    margin-top: 4px;
}

.picker {
    width: 100%;
}

.picker-content {
    padding: 12px 16px;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    background-color: #FAFAFA;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.picker-text {
    color: #333333;
    font-size: 16px;
}

.picker-arrow {
    color: #999999;
    font-size: 18px;
}

.upload-area {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.upload-item {
    position: relative;
    width: 80px;
    height: 80px;
}

.upload-image {
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

.delete-btn {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 20px;
    height: 20px;
    border-radius: 10px;
    background-color: #FF5722;
    display: flex;
    align-items: center;
    justify-content: center;
}

.delete-icon {
    color: #FFFFFF;
    font-size: 14px;
    line-height: 1;
}

.upload-btn {
    width: 80px;
    height: 80px;
    border: 1px dashed #CCCCCC;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #FAFAFA;
}

.upload-plus {
    color: #999999;
    font-size: 24px;
    line-height: 1;
}

.upload-text {
    color: #999999;
    font-size: 12px;
    margin-top: 4px;
}

.upload-tip {
    color: #999999;
    font-size: 12px;
    margin-top: 8px;
}

.creator-footer {
    background-color: #FFFFFF;
    padding: 16px;
    padding-bottom: calc(16px + env(safe-area-inset-bottom));
    border-top: 1px solid #F0F0F0;
    display: flex;
    gap: 12px;
}

.cancel-btn, .submit-btn {
    flex: 1;
    height: 44px;
    border-radius: 22px;
    font-size: 16px;
    font-weight: 500;
    border: none;
}

.cancel-btn {
    background-color: #F5F5F5;
    color: #666666;
}

.submit-btn {
    background-color: #5B8FF9;
    color: #FFFFFF;
}

.submit-btn[disabled] {
    background-color: #CCCCCC;
    color: #999999;
}