.main-content {
    padding: 20px 0;
    background-color: var(--light-blue);
    min-height: calc(100vh - 400px);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 面包屑导航样式 */
.breadcrumb {
    padding: 15px 20px;
    margin-bottom: 20px;
    font-size: 14px;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.breadcrumb a {
    color: var(--primary-blue);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--primary-red);
    transform: translateX(2px);
}

.breadcrumb i {
    margin: 0 10px;
    color: var(--gray);
    font-size: 12px;
}

.breadcrumb span {
    color: var(--black);
}

.stock-content {
    margin: 0px 0;
}

.stock-intro {
    float: left;
    width: 45%;
    padding-right: 40px;
    padding: 40px;
}

.stock-intro h1 {
    font-size: 36px;
    color: #333;
    margin-bottom: 40px;
}

.stock-intro h2 {
    font-size: 24px;
    color: #666;
    margin-bottom: 40px;
}

.stock-intro p {
    font-size: 18px;
    line-height: 2.0;
    color: #666;
    margin-bottom: 40px;
}

.action-buttons {
    margin-top: 30px;
}

.action-buttons .btn,
.form-group button.btn {
    display: inline-block;
    padding: 12px 25px;
    margin-right: 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
}

.btn-primary {
    background-color: #007bff;
    color: #fff !important;
    border: none;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #0056b3;
}

.btn-outline {
    background-color: transparent;
    color: #007bff !important;
    border: 2px solid #007bff;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: #007bff;
    color: #fff !important;
}

.stock-form-section {
    float: right;
    width: 55%;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.stock-form-section h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

.stock-form-section p {
    color: #666;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

/* 按钮居中 */
.form-group:last-child {
    text-align: center;
    margin-top: 30px;
}

.form-group button.btn {
    margin-right: 0; /* 移除右边距，因为是居中的单个按钮 */
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

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

.file-upload .upload-box {
    border: 2px dashed #ddd;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    border-radius: 5px;
    margin-bottom: 10px;
}

.file-upload .upload-text {
    display: block;
    font-size: 16px;
    color: #007bff;
    margin-bottom: 5px;
}

.file-upload .file-size {
    font-size: 12px;
    color: #666;
}

.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

@media (max-width: 768px) {
    .stock-intro,
    .stock-form-section {
        float: none;
        width: 100%;
        padding: 20px;
    }

    .stock-intro {
        margin-bottom: 30px;
    }
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

/* 必填字段的星号样式 */
.form-group input[required][placeholder*="*"]::placeholder {
    color: #999;
}

.form-group input[required][placeholder*="*"] {
    color: #333;
}

/* 将星号变为红色 */
.form-group input[required][placeholder$="*"]::placeholder {
    background: linear-gradient(to right, 
        #999 0%,
        #999 calc(100% - 8px),
        #ff0000 calc(100% - 8px),
        #ff0000 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 成功提示框样式 */
.success-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 30px 50px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    text-align: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.success-message h3 {
    color: #28a745;
    font-size: 24px;
    margin-bottom: 20px;
}

.success-message p {
    color: #666;
    font-size: 16px;
    margin-bottom: 20px;
}

.success-message .btn {
    padding: 10px 20px;
    background: #28a745;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.success-message .btn:hover {
    background: #218838;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

/* 遮罩层 */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    animation: fadeIn 0.3s ease;
} 