/* 铸造页面样式 */
.mint-page {
    padding-top: 44px;
    padding-bottom: 60px;
}

/* 铸造说明 */
.mint-intro {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 30px 12px;
    text-align: center;
    color: var(--bg-white);
    margin-bottom: 12px;
}

.intro-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
}

.intro-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 8px;
}

.intro-desc {
    font-size: 13px;
    opacity: 0.9;
}

/* 表单区块 */
.mint-form-section {
    background: var(--bg-white);
    padding: 15px 12px;
    margin-bottom: 12px;
}

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

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

.form-label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.label-text {
    flex: 1;
}

.required {
    color: var(--danger-color);
}

/* 上传区域 */
.upload-area {
    width: 100%;
    min-height: 150px;
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 0.3s;
    position: relative;
    overflow: hidden;
}

.upload-area:hover {
    border-color: var(--primary-color);
}

.upload-placeholder {
    text-align: center;
    padding: 20px;
    color: var(--text-light);
}

.upload-placeholder i {
    font-size: 40px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.upload-placeholder p {
    font-size: 14px;
    margin-bottom: 5px;
}

.upload-tip {
    font-size: 12px;
    color: var(--text-light);
}

.upload-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.media-preview {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--text-primary);
}

/* 表单输入 */
.form-input,
.form-textarea,
.form-select {
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
    background: var(--bg-white);
    color: var(--text-primary);
    font-family: inherit;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    border-color: var(--primary-color);
}

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

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 35px;
}

/* 带后缀的输入框 */
.input-with-suffix {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-suffix .form-input {
    flex: 1;
    padding-right: 40px;
}

.input-suffix {
    position: absolute;
    right: 12px;
    font-size: 14px;
    color: var(--text-secondary);
}

.input-tip {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 5px;
}

/* 属性列表 */
.attributes-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.attribute-item {
    display: flex;
    gap: 8px;
    align-items: center;
}

.attr-input {
    flex: 1;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    outline: none;
}

.attr-input:focus {
    border-color: var(--primary-color);
}

.btn-remove-attr {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-page);
    border: none;
    border-radius: 8px;
    color: var(--text-light);
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
}

.btn-remove-attr:hover {
    background: var(--danger-color);
    color: var(--bg-white);
}

.btn-add-attr {
    width: 100%;
    padding: 12px;
    background: var(--bg-page);
    border: 1px dashed var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: all 0.3s;
}

.btn-add-attr:hover {
    border-color: var(--primary-color);
    background: rgba(102, 126, 234, 0.1);
}

/* 提交按钮 */
.btn-submit-mint {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--bg-white);
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-submit-mint:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* 铸造流程 */
.mint-steps {
    background: var(--bg-white);
    padding: 15px 12px;
    margin-bottom: 12px;
}

.mint-steps .section-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 20px;
    padding: 0 12px;
}

.mint-steps .section-title i {
    color: var(--primary-color);
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.step-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.step-number {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.step-content p {
    font-size: 13px;
    color: var(--text-secondary);
}

/* 费用说明 */
.fee-section {
    background: var(--bg-white);
    padding: 15px 12px;
    margin-bottom: 12px;
}

.fee-section .section-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 20px;
    padding: 0 12px;
}

.fee-section .section-title i {
    color: var(--warning-color);
}

.fee-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 12px;
}

.fee-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: var(--bg-page);
    border-radius: 8px;
}

.fee-name {
    font-size: 14px;
    color: var(--text-secondary);
}

.fee-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.fee-value.total {
    color: var(--primary-color);
    font-size: 16px;
}

/* 我的铸造申请 */
.mint-records {
    background: var(--bg-white);
    padding: 15px 12px;
    margin-bottom: 12px;
}

.mint-records-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 12px;
}

.mint-record-item {
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 12px;
    background: var(--bg-page);
}

.mint-record-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    font-size: 13px;
}

.mint-record-row:last-child {
    margin-bottom: 0;
}

.mint-record-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.mint-status {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 12px;
}

.mint-status-pending {
    background: rgba(245, 158, 11, 0.12);
    color: #b45309;
}

.mint-status-approved {
    background: rgba(16, 185, 129, 0.12);
    color: #047857;
}

.mint-status-rejected {
    background: rgba(239, 68, 68, 0.12);
    color: #b91c1c;
}

.mint-record-empty {
    text-align: center;
    color: var(--text-light);
    font-size: 13px;
    padding: 14px 0;
}
