body {
    background-color: #f5f7fa;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.container {
    padding-bottom: 40px;
    max-width: 960px;
    margin: 0 auto;
}

.header {
    position: relative;
    height: 160px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-bg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    filter: brightness(0.8);
}

.header-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
}

.logo {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
    border-radius: 50%;
    border: 3rpx solid rgba(255, 255, 255, 0.2);
}

.title {
    font-size: 21px;
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.subtitle {
    font-size: 13px;
    opacity: 0.9;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
}

.form-card {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin: -20px 15px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 2;
}

.form-item {
    margin-bottom: 15px;
}

.form-label {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-label font {
    color: var(--color);
    font-weight: bold;
}

.form-input {
    border: 1px solid #eaeaea;
    border-radius: 6px;
    padding: 10px 15px;
    font-size: 15px;
    background: #f9f9f9;
    transition: all 0.3s;
}

.form-input:hover {
    border-color: #4a90e2;
}

.picker {
    color: #333;
}

.query-btn {
    background: linear-gradient(135deg, #4ba9ff, #2d8cf0);
    margin: 20px auto;
    display: block;
    width: 90%;
    color: #fff;
    text-align: center;
    border-radius: 10px;
    padding: 10px 0;
    font-size: 14px;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
}

.record-btn {
    position: absolute;
    right: 10px;
    top: 10px;
    background: linear-gradient(135deg, #4ba9ff, #2d8cf0);
    display: inline;
    color: #fff;
    text-align: center;
    border-radius: 10px;
    padding: 10px;
    font-size: 14px;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: white;
    padding: 24px;
    border-radius: 8px;
    width: 320px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    position: relative;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-title {
    margin: 0 0 16px 0;
    font-size: 18px;
    color: #333;
    font-weight: 500;
}

.input-group {
    margin-bottom: 24px;
}

.phone-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

.phone-input:focus {
    border-color: #1890ff;
    outline: none;
    box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.confirm-btn {
    padding: 8px 16px;
    background-color: #1890ff;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.confirm-btn:hover {
    background-color: #40a9ff;
}

.close-btn {
    padding: 8px 16px;
    background-color: #f5f5f5;
    color: #666;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.close-btn:hover {
    background-color: #e6e6e6;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 24px;
    height: 24px;
    border: none;
    background: none;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.modal-close:hover {
    opacity: 1;
}

.modal-close::before,
.modal-close::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 2px;
    background-color: #666;
}

.modal-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.modal-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}