﻿
        /* Reset styles */
        *, *::before, *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        ul, ol, dl, form {
            padding: 0;
            margin: 0;
        }

        h1, h2, h3, h4, h5, h6, p {
            margin: 0;
            padding-right: 15px;
            padding-left: 15px;
        }

        html, body {
            height: 100%;
            overflow-x: hidden;
        }

        /* Modify body styles to support flex layout */
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif, 'Microsoft YaHei', '微软雅黑', Arial;
            height: 100%;
            display: flex;
            flex-direction: column;
            background-color: white;
        }

        /* Input placeholder styles */
        ::-webkit-input-placeholder {
            color: #999;
            font-size: 80%;
        }

        :-moz-placeholder {
            color: #999;
            font-size: 80%;
        }

        ::-moz-placeholder {
            color: #999;
            opacity: 1;
            font-size: 80%;
        }

        :-ms-input-placeholder {
            color: #999 !important;
            font-size: 80% !important;
        }

        /* Header with background image */
        .header {
            width: 100%;
            height: 370px;
            background-image: url('back.jpg');
            background-size: cover;
            background-position: center;
            display: flex;
            justify-content: center;
            align-items: center;
            margin-bottom: 20px;
        }

        /* Responsive container */
        .container {
           /*   width: 90%;*/
            max-width: 800px;
            min-width: 300px;
            margin: 0 auto;
            padding: 20px;
            flex: 1 0 auto;
        }

        .wrapper {
           /* min-height: calc(100vh - 530px);*/
           height: calc(100vh - 420px);
         display: flex; 
           /*  flex-direction: column;*/
            justify-content: flex-start;
            align-items: center;
            position: relative;
            /*flex: 1 0 auto;*/
        }

        .push {
            height: 0.5em;
        }

        .footer, .push {
            height: auto;
            min-height: 3em;
        }

        /* Simple login box */
        .ibox {
            font-size: 100%;
            background-color: white;
            border: 1px solid #e0e0e0;
            border-radius: 8px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            margin: 20px auto;
            padding: 20px;
            width: 100%;
            max-width: 500px;
min-height:380px;
        }

        /* Input icon styles */
        .input-container {
            position: relative;
            display: inline-block;
            width: 100%;
            min-width: 200px;
            margin-bottom: 15px;
        }

        .input-icon {
            position: absolute;
            left: 12px;
            top: 50%;
            transform: translateY(-50%);
            color: #666;
            font-size: 16px;
            z-index: 2;
        }

        /* Input field styles */
        .seditsize {
            width: 100%;
            font-size: 16px;
            padding: 12px 16px 12px 45px;
            background: white;
            border: 1px solid #ddd;
            border-radius: 5px;
            color: #333;
            transition: all 0.3s ease;
            outline: none;
            /* Mobile optimization */
            -webkit-appearance: none;
            appearance: none;
            /* Prevent iOS zoom */
            font-size: 16px;
        }

        .seditsize:focus {
            border-color: #0080ff;
            box-shadow: 0 0 5px rgba(0, 128, 255, 0.2);
        }

        .passsize {
            font-size: large;
        }

        /* Simple button */
        .sbtnsize {
            font-size: 16px;
            padding: 12px 24px;
            min-width: 120px;
            background-color: #0080ff;
            border: none;
            border-radius: 5px;
            color: white;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s ease;
            /* Mobile optimization */
            -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
            touch-action: manipulation;
        }

        .sbtnsize:hover {
            background-color: #0066cc;
        }

        .sbtnsize:active {
            background-color: #0052a3;
        }

        /* Title styles */
        .stitle {
            text-align: center;
            font-size: 120%;
            color: #333;
            padding: 15px 6px;
            font-weight: bold;
            position: relative;
        }

        .sinp {
            background: white;
        }

        td.rt {
            text-align: right;
            color: #666;
            font-weight: 500;
            padding-right: 15px;
            padding-bottom: 15px;
        }

        /* List styles */
        ul {
            margin: 15px 0;
            list-style-position: inside;
            font-size: 85%;
            color: #666;
        }

        ul li {
            margin: 5px 0;
            padding-left: 10px;
        }

        /* Table styles */
        table {
            color: #333;
            width: 100%;
        }

        /* Footer styles - fixed at bottom */
        .footer {
            margin: 0 auto;
            text-align: center;
            font-size: small;
            color: #666;
            background-color: #063c62;
            padding: 20px;
            margin-top: auto;
            width: 100%;
            flex-shrink: 0;
        }

        .footer a {
            color: #fff;
            text-decoration: none;
        }

        .footer a:hover {
            text-decoration: underline;
        }

        /* Quick login area */
        #idQLogBox {
            margin-top: 30px;
            background-color: white;
            border: 1px solid #e0e0e0;
            border-radius: 8px;
            overflow: hidden;
        }

        /* Quick login title */
        #idQLogBox .stitle {
            color: #333;
            padding: 15px;
            margin: 0;
            position: relative;
        }

        /* Quick login settings area */
        #idQSetBox {
            padding: 20px;
            background-color: #f8f9fa;
            margin: 0;
        }

        /* Quick login table styles */
        #idQSetBox table {
            width: 100%;
            border-spacing: 0 15px;
        }

        #idQSetBox td {
            padding: 5px 0;
            vertical-align: middle;
        }

        #idQSetBox .rt {
            width: 35%;
            color: #666;
            font-weight: 500;
            text-align: right;
            padding-right: 15px;
        }

        /* Radio button group styles */
        .radio-group {
            display: flex;
            gap: 15px;
            align-items: center;
            flex-wrap: wrap;
        }

        .radio-group label {
            display: flex;
            align-items: center;
            cursor: pointer;
            color: #333;
            position: relative;
            /* Mobile optimization */
            -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
            touch-action: manipulation;
        }

        .radio-group input[type="radio"] {
            width: 18px;
            height: 18px;
            margin-right: 8px;
            position: relative;
        }

        /* Quick login button */
        .quick-login-btn {
            background-color: #0080ff;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 5px;
            font-size: 14px;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s ease;
            /* Mobile optimization */
            -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
            touch-action: manipulation;
            width: 100%;
            max-width: 250px;
            margin: 0 auto;
            display: block;
        }

        .quick-login-btn:hover {
            background-color: #0066cc;
        }

        /* Quick login result display */
        #idQWeb {
            margin-top: 15px;
            padding: 15px;
            background-color: #f8f9fa;
            border-radius: 5px;
            border: 1px solid #e0e0e0;
            min-height: 40px;
            font-size: 14px;
            word-wrap: break-word;
            text-align: center;
        }

        #idQWeb a {
            color: #0080ff;
            text-decoration: none;
            font-weight: bold;
        }

        #idQWeb a:hover {
            text-decoration: underline;
        }

        label {
            color: #333;
        }

        /* Responsive design */
        @media (max-width: 768px) {
            .header {
                height: 150px;
            }
            
            .container {
                width: 95%;
                padding: 10px;
            }
            
            .seditsize {
                width: 100%;
                font-size: 14px;
            }
            
            .sbtnsize {
                font-size: 14px;
                padding: 10px 16px;
                min-width: 100px;
                width: 45%;
                margin: 5px;
            }
            
            .stitle {
                font-size: 110%;
                padding: 15px 6px;
            }
            
            .ibox {
                margin: 10px 0;
                padding: 15px;
            }
            
            td.rt {
                padding-right: 10px;
                font-size: 14px;
                text-align: right;
                padding-bottom: 10px;
            }
            
            table {
                font-size: 14px;
            }
            
            /* Adjust login button layout */
            .button-container {
                display: flex;
                flex-direction: column;
                align-items: center;
                gap: 10px;
            }
            
            .button-container .sbtnsize {
                width: 100%;
                margin: 5px 0;
            }
        }

        @media (max-width: 480px) {
            .header {
                height: 120px;
            }
            
            .container {
                width: 98%;
                padding: 5px;
            }
            
            .seditsize {
                width: 100%;
                font-size: 14px;
                padding: 10px 12px;
            }
            
            .sbtnsize {
                font-size: 12px;
                padding: 8px 12px;
                min-width: 80px;
                width: 100%;
            }
            
            table {
                font-size: 14px;
            }
            
            .radio-group {
                flex-direction: column;
                align-items: flex-start;
                gap: 10px;
            }
            
            .radio-group label {
                width: 100%;
                padding: 5px 0;
            }
            
            #idQSetBox .rt {
                text-align: left;
                padding-right: 0;
                padding-bottom: 5px;
                width: 100%;
            }
            
            #idQSetBox td {
                display: block;
                width: 100%;
            }
        }

        /* Custom alert styles */
        .custom-alert {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 10000;
            display: flex;
            justify-content: center;
            align-items: center;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }

        .custom-alert.show {
            opacity: 1;
            visibility: visible;
        }

        .alert-box {
            background-color: white;
            border-radius: 8px;
            padding: 25px;
            min-width: 300px;
            max-width: 500px;
            width: 90%;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            position: relative;
            transform: scale(0.8) translateY(50px);
            transition: all 0.3s ease;
        }

        .custom-alert.show .alert-box {
            transform: scale(1) translateY(0);
        }

        .alert-icon {
            text-align: center;
            margin-bottom: 15px;
        }

        .alert-icon i {
            font-size: 36px;
            color: #ff6b6b;
        }

        .alert-title {
            text-align: center;
            font-size: 18px;
            font-weight: bold;
            color: #333;
            margin-bottom: 15px;
        }

        .alert-message {
            text-align: center;
            font-size: 15px;
            color: #666;
            line-height: 1.5;
            margin-bottom: 20px;
            word-wrap: break-word;
        }

        .alert-button {
            display: block;
            margin: 0 auto;
            padding: 10px 25px;
            background-color: #0080ff;
            border: none;
            border-radius: 5px;
            color: white;
            font-size: 15px;
            font-weight: bold;
            cursor: pointer;
            min-width: 80px;
        }

        .alert-button:hover {
            background-color: #0066cc;
        }

        /* Multi-browser compatibility */
        input[type="text"], input[type="password"] {
            -webkit-appearance: none;
            -moz-appearance: none;
            appearance: none;
        }

        /* IE compatibility */
        @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
            .ibox {
                background: white;
            }
            
            .seditsize {
                background: white;
                color: #333;
            }
        }
