/* 商店容器樣式 */
.smm-direct-container {
    max-width: 800px;
    margin: 2em auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* 標題樣式 */
.smm-direct-title {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 1.5em;
}

/* 表單樣式 */
.smm-direct-form {
    display: flex;
    flex-direction: column;
    gap: 1.5em;
}

/* 表單群組樣式 */
.smm-direct-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}

/* 標籤樣式 */
.smm-direct-form-group label {
    font-weight: 600;
    color: #2c3e50;
}

/* 下拉選單和輸入框樣式 */
.smm-direct-form-group select,
.smm-direct-form-group input {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

/* 下拉選單懸停和焦點樣式 */
.smm-direct-form-group select:disabled,
.smm-direct-form-group input:disabled {
    background-color: #f5f5f5;
    cursor: not-allowed;
}

/* 服務描述樣式 */
.smm-direct-service-details {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 4px;
    margin: 1em 0;
}

.smm-direct-service-details h3 {
    color: #2c3e50;
    margin-bottom: 1em;
}

.smm-direct-service-info {
    display: grid;
    gap: 0.5em;
}

.smm-direct-service-info p {
    margin: 0;
}

/* 總價顯示樣式 */
#smm-direct-total-price {
    font-size: 1.2em;
    font-weight: bold;
    color: #2c3e50;
    margin: 10px 0;
}

/* 提交按鈕樣式 */
.smm-direct-submit {
    background: #3498db;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.smm-direct-submit:hover {
    background: #2980b9;
}

.smm-direct-submit:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
}

.smm-direct-loading {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.smm-direct-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.smm-direct-message {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 4px;
    background: #2ecc71;
    color: white;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.smm-direct-error {
    background: #e74c3c;
    color: white;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 1em;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 成功訊息樣式 */
.smm-direct-success {
    color: #46b450;
    padding: 1em;
    margin: 1em 0;
    background: #dff0d8;
    border: 1px solid #d6e9c6;
    border-radius: 4px;
}

/* 響應式設計 */
@media (max-width: 768px) {
    .smm-direct-container {
        margin: 1em;
        padding: 15px;
    }

    .smm-direct-form-group select,
    .smm-direct-form-group input,
    .smm-direct-submit {
        width: 100%;
    }
} 