﻿.form-container {
    background-color: #ffffff;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    padding: 30px;
    margin: 30px;
}

.form-group {
    margin-bottom: 15px;
}

.form-control {
    border-radius: 3px;
}

.conditions {
    margin-bottom: 15px;
    font-size:16px;
}

    .conditions input {
        width:20px;
        height:20px;
        vertical-align: sub;
        cursor: pointer;
    }

.btn-primary {
    font-size:24px;
    background-color: #337ab7;
    border-color: #2e6da4;
}

    .btn-primary:hover {
        background-color: #286090;
        border-color: #122b40;
    }

h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 36px;
    color: #333;
}

p {
    font-size:24px;
    text-align:center;
}

form {
    margin-top:30px;
}

form label {
    font-size:20px;
    line-height:36px;
}

    form .form-control {
        font-size:18px;
        height:48px;
    }

    form .input-group-addon {
        font-size:18px;
    }

    .required {
        color: red;
    }

.small-text {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

.terms-link {
    cursor: pointer;
}

    .terms-link:hover {
        color: red;
    }

.modal-body {
    max-height: 400px;
    overflow-y: auto;
}

.serial-number-section {
    border: 1px dashed #ccc;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.file-input-wrapper {
    position: relative;
}

    .file-input-wrapper input[type="file"] {
        position: absolute;
        left: 0;
        top: 0;
        opacity: 0;
        width: 100%;
        height: 100%;
        cursor: pointer;
    }

.custom-file-button {
    display: inline-block;
    padding: 8px 16px;
    background-color: #337ab7;
    color: white;
    border: 1px solid #2e6da4;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
}

.file-name {
    margin-left: 10px;
    color: #666;
}

/* 页面遮罩层 */
.page-loading-mask {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.page-loading-mask.active {
    display: flex;
}

.loading-content {
    background: #fff;
    padding: 30px 50px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.loading-content i {
    font-size: 48px;
    color: #337ab7;
    display: block;
    margin-bottom: 15px;
}

.loading-content p {
    margin: 0;
    font-size: 16px;
    color: #666;
}

/* Loading 旋转动画 */
.glyphicon-refresh.spinning {
    animation: spin 1s infinite linear;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

#messageModal .modal-dialog {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    width: 90%;
    max-width: 500px;
}