/*
 * 全局配色
 * 主色 #4A3A6B：标题、关键文字
 * 强调色 #D4AF37：边框、按钮、装饰
 * 辅助色 #7B6A9C：次级文字、标签
 * 背景色 #FAF7F2：页面背景
 */

body {
    background-color: #FAF7F2;
    color: #4A3A6B;
}

h1, h2, h3, h4, h5, h6 {
    color: #4A3A6B;
}

a {
    color: #4A3A6B;
    text-decoration: none;
}

a:hover,
a:focus {
    color: #D4AF37;
}

label {
    color: #7B6A9C;
}

/* 表单 */
.form-center {
    margin: auto;
    width: 24em;
    color: #4A3A6B;
    text-align: center;
}

.form-center input,
.form-center button,
.form-center a {
    width: 100%;
}

.form-left {
    width: 60%;
}

.form-left input,
.form-left button,
.form-left a,
.form-left select {
    width: 60%;
}

.form-left label {
    width: 30% !important;
    color: #7B6A9C;
}

@media (max-width: 24em) {
    .form-center {
        width: 90%;
    }
    .form-left input,
    .form-left button,
    .form-left a,
    .form-left select {
        width: 100%;
    }
    .form-left label {
        width: 100% !important;
    }
}

@media (max-width: 64em) {
    .form-left {
        width: 90%;
    }
}

/* 错误提示 */
.error {
    color: #c0392b;
    font-size: 14px;
    margin: 0;
    float: left;
}

.input-error {
    border-color: #c0392b !important;
}

.fr {
    float: right;
    margin: 0 10px 0 0;
}

/* 详情信息 */
.detail-info {
    width: 48em;
    margin: auto;
    color: #4A3A6B;
}

@media (max-width: 48em) {
    .detail-info {
        width: 90%;
        margin: auto;
    }
}

.info-box {
    border: 1px solid #D4AF37;
    display: block;
    box-shadow: 5px 5px 0 #D4AF37;
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: #fff;
}

.info-box span,
.info-box label {
    color: #7B6A9C;
}

/* Pure 按钮覆盖 */
.pure-button {
    border: 1px solid #D4AF37;
    color: #4A3A6B;
    background-color: #fff;
}

.pure-button:hover,
.pure-button:focus {
    background-color: #FAF7F2;
    color: #4A3A6B;
}

.pure-button-primary {
    background-color: #D4AF37;
    color: #4A3A6B;
    border: 1px solid #D4AF37;
}

.pure-button-primary:hover,
.pure-button-primary:focus {
    background-color: #c49f2c;
    color: #fff;
}

/* Pure 表单覆盖 */
.pure-form input[type="text"],
.pure-form input[type="password"],
.pure-form input[type="email"],
.pure-form input[type="number"],
.pure-form input[type="date"],
.pure-form select,
.pure-form textarea {
    border: 1px solid #D4AF37;
    color: #4A3A6B;
}

.pure-form input:focus,
.pure-form select:focus,
.pure-form textarea:focus {
    border-color: #4A3A6B;
    outline: none;
}

.pure-form-message-inline {
    color: #7B6A9C;
}

/* Pure 表格覆盖 */
.pure-table {
    border: 1px solid #D4AF37;
    color: #4A3A6B;
}

.pure-table th {
    background-color: #4A3A6B;
    color: #FAF7F2;
    border-bottom: 1px solid #D4AF37;
}

.pure-table td {
    border-bottom: 1px solid #D4AF37;
}

.pure-table tbody tr:nth-child(2n-1) {
    background-color: #FAF7F2;
}

.pure-table tbody tr:hover {
    background-color: #f0e6d3;
}

/* 分页 */
.paginator .current,
.paginator span {
    color: #7B6A9C;
}
