/* submit.css - Premium Frontend Web Submission Form Styles for TabFlow Navigation Theme */

.art-main > p {
    display: none;
}

.page-tips {
    padding: 16px 20px;
    line-height: 1.6;
    background: #fffbeb;
    border-radius: 8px;
    box-sizing: border-box;
    border: 1px solid #fef3c7;
    color: #b45309;
    font-size: 13.5px;
    margin-bottom: 24px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}

.submit-form {
    margin-top: 20px;
    width: 100%;
    box-sizing: border-box;
}

.form-group {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
}

.form-label {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

.label-dot {
    display: inline-block;
    width: 3px;
    height: 14px;
    background: linear-gradient(135deg, var(--main-color, #ff3636), #ff6b6b);
    border-radius: 2px;
    margin-right: 8px;
}

.form-label .intro {
    font-size: 12px;
    color: #64748b;
    font-weight: normal;
    margin-left: 8px;
}

.form-input {
    height: 42px;
    line-height: 42px;
    width: 100%;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    padding: 0 16px;
    font-size: 13.5px;
    color: #334155;
    background-color: #ffffff;
    box-sizing: border-box;
    transition: all 0.2s ease-in-out;
}

.form-input:focus {
    border-color: var(--main-color, #ff3636);
    box-shadow: 0 0 0 3px rgba(255, 54, 54, 0.08);
    outline: none;
}

/* URL Input Row with Fetch Button */
.url-input-row {
    display: flex;
    gap: 12px;
    align-items: center;
}

.url-input-row .form-input {
    flex: 1;
}

#meta_btn {
    height: 42px;
    padding: 0 24px;
    background: var(--main-color, #ff3636);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13.5px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(255, 54, 54, 0.15);
    transition: all 0.2s ease;
    white-space: nowrap;
}

#meta_btn:hover {
    background: #e02424;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 54, 54, 0.25);
}

#meta_btn:active {
    transform: translateY(0);
}

.select-wrapper {
    position: relative;
    width: 100%;
}

.select-wrapper select {
    height: 42px;
    width: 100%;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    padding: 0 36px 0 16px;
    font-size: 13.5px;
    color: #334155;
    background-color: #ffffff;
    appearance: none;
    cursor: pointer;
    box-sizing: border-box;
    transition: all 0.2s ease;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23475569' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px 12px;
}

.select-wrapper select:focus {
    border-color: var(--main-color, #ff3636);
    box-shadow: 0 0 0 3px rgba(255, 54, 54, 0.08);
    outline: none;
}

/* Verification Code Row */
.vcode-input-row {
    display: flex;
    gap: 12px;
    align-items: center;
}

.vcode-input-row .form-input {
    width: 160px;
}

#reg_verfiycode {
    height: 42px !important;
    width: auto;
    border-radius: 8px;
    cursor: pointer;
    border: 1px solid #e2e8f0;
}

/* UEditor container */
.editor-wrapper {
    width: 100%;
}

.editor-wrapper .edui-editor {
    border-radius: 8px !important;
    border: 1px solid #cbd5e1 !important;
    overflow: hidden;
    z-index: 10 !important;
}

.editor-wrapper .edui-editor-toolbarbox {
    background: #f8fafc !important;
    border-bottom: 1px solid #cbd5e1 !important;
}

/* Post Button */
.form-group-btn {
    margin-top: 30px;
}

.post-btn {
    height: 46px;
    width: 200px;
    background: linear-gradient(135deg, var(--main-color, #ff3636), #ff5a5a);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(255, 54, 54, 0.25);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.post-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 54, 54, 0.35);
}

.post-btn:active {
    transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .submit-form {
        padding: 20px;
    }
    
    .url-input-row {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    
    #meta_btn {
        width: 100%;
    }
    
    .select-wrapper {
        max-width: 100%;
    }
    
    .post-btn {
        width: 100%;
    }
}
