/* rotate-image.css */

/* 内容卡片 */
.rotate-content-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    max-width: 700px;
}

/* 表单组 */
.rotate-form-group {
    margin-bottom: 25px;
}

.rotate-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #34495e;
}

.rotate-input-text {
    width: 100%;
    padding: 10px;
    border: 1px solid #bdc3c7;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
}

.rotate-input-text:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.rotate-hint {
    margin-top: 5px;
    font-size: 14px;
    color: #7f8c8d;
    line-height: 1.4;
}

.rotate-radio-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.rotate-radio-item {
    display: flex;
    align-items: center;
    font-size: 16px;
    cursor: pointer;
}

.rotate-radio-item input {
    margin-right: 8px;
    cursor: pointer;
}

.rotate-custom-angle-group {
    padding-top: 10px;
    border-top: 1px dashed #eee;
    margin-top: 10px;
}

/* 预览区域 */
.rotate-preview-group {
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 4px;
    margin-top: 15px;
}

.rotate-preview-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100px;
    border: 1px dashed #ccc;
    border-radius: 4px;
    padding: 10px;
}

/* 错误消息 */
.rotate-error-msg {
    color: #e74c3c;
    margin-top: 10px;
    font-weight: bold;
    min-height: 20px;
}

/* 按钮样式 */
#rotate-btn-preview, #rotate-btn-download {
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

#rotate-btn-preview {
    background-color: #2ecc71;
    color: white;
}

#rotate-btn-preview:hover {
    background-color: #27ae60;
}

#rotate-btn-download {
    background-color: #3498db;
    color: white;
}

#rotate-btn-download:hover {
    background-color: #2980b9;
}

/* 禁用状态 */
#rotate-btn-preview:disabled, #rotate-btn-download:disabled {
    background-color: #bdc3c7;
    cursor: not-allowed;
}

/* rotate-image.css（新增） */
.rotate-format-hint {
    color: #e67e22 !important; /* 橙色提示 */
    font-weight: 500 !important;
    margin-top: 8px;
}