:root {
    --primary: #15336e;
    --secondary: #2c66e0;
    --accent: #c9a145;
    --light: #f8f9fa;
    --dark: #343a40;
    --gray: #6c757d;
    --light-gray: #e9ecef;
    --transition: all 0.3s ease;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

.info {
    background: linear-gradient(135deg, #f5f6f7 0%, #eef1f5 100%);
    color: #333;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    width: 100%;
}

.register-container {
    display: flex;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.banner {
    flex: 1;
    background: linear-gradient(to right, var(--primary), #2a5298);
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1519389950473-47ba0277781c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80') center/cover;
    opacity: 0.2;
}

.banner-content {
    position: relative;
    z-index: 2;
    color: white;
}

.banner h1 {
    text-align: left;
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.banner p {
    text-align: left;
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 15px;
    line-height: 1.8;
}

.features {
    margin-top: 40px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.feature i {
    width: 35px;
    font-size: 1.5rem;
    color: var(--accent);
}

.feature span {
    font-size: 1.05rem;
}

.register-form {
    flex: 1;
    padding: 30px 50px;
    display: flex;
    flex-direction: column;
}

.form-header {
    text-align: center;
    /*margin-bottom: 40px;*/
}

.form-header h2 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.form-header p {
    color: var(--gray);
}

.tabs {
    display: flex;
    background: var(--light-gray);
    border-radius: 50px;
    margin-bottom: 30px;
}

.tab {
    flex: 1;
    text-align: center;
    padding: 15px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    border-radius: 50px;
}

.tab.active {
    background: var(--primary);
    color: white;
}

.form-section {
    display: none;
}

.form-section.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-group {
    margin-bottom: 10px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
}

.input-with-icon select {
    padding-left: 45px;
}

.input-with-icon input {
    padding-left: 45px !important;
}

input, select {
    width: 100% !important;
    padding: 14px 20px !important;
    border: 1px solid var(--light-gray) !important;
    border-radius: 10px !important;
    font-size: 1rem !important;
    transition: var(--transition) !important;
}

input:focus, select:focus {
    border-color: var(--secondary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(134, 106, 45, 0.2);
}

.phone-input {
    display: flex;
    gap: 10px;
}

.phone-prefix {
    width: 120px;
}

.phone-number {
    flex: 1;
}

.captcha-row {
    display: flex;
    gap: 15px;
}

.captcha-input {
    flex: 1;
}

.captcha-img {
    width: 120px;
    height: 50px;
    background: var(--light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--primary);
    cursor: pointer;
    user-select: none;
}

.sms-row {
    display: flex;
    gap: 15px;
}

.sms-input {
    flex: 1;
}

.sms-btn {
    width: 140px;
    background: var(--light);
    border: 1px solid var(--light-gray);
    border-radius: 10px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
}

.sms-btn:hover {
    background: var(--secondary);
    color: white;
    border-color: var(--secondary);
}

.organization-type {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.org-card {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-evenly;
    border: 2px solid var(--light-gray);
    border-radius: 15px;
    padding: 5px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.org-card:hover, .org-card.active {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-evenly;
    border-color: var(--secondary);
    background: rgba(134, 106, 45, 0.05);
}

.org-card i {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 15px;
}

.org-card h4 {
    font-size: 1.1rem;
    color: var(--dark);
}

.file-upload {
    border: 2px dashed var(--light-gray);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    margin-top: 20px;
    cursor: pointer;
    transition: var(--transition);
}

.file-upload:hover {
    border-color: var(--secondary);
    background: rgba(134, 106, 45, 0.05);
}

.file-upload i {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 15px;
}

.file-upload p {
    color: var(--gray);
    margin-bottom: 10px;
}

.file-upload span {
    color: var(--primary);
    font-weight: 500;
}

.agreement {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 25px 0;
}

.agreement input {
    width: auto !important;
    margin-top: 5px;
}

.agreement label {
    font-size: 0.85rem;
    color: var(--gray);
}

.agreement a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 500;
}

.agreement a:hover {
    text-decoration: underline;
}

.submit-btn {
    background: var(--secondary);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    background: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.login-link {
    font-size: 16px;
    text-align: center;
    margin-top: 5px;
    color: var(--gray);
}

.login-link a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
}

.login-link a:hover {
    text-decoration: underline;
}

.form-note {
    background: var(--light);
    border-left: 4px solid var(--secondary);
    padding: 15px;
    border-radius: 0 8px 8px 0;
    margin-top: 20px;
    font-size: 0.95rem;
    color: var(--gray);
}

@media (max-width: 992px) {
    .register-container {
        flex-direction: column;
    }

    .banner {
        padding: 40px 30px;
    }

    .register-form {
        padding: 40px 30px;
    }
}

@media (max-width: 576px) {
    .organization-type {
        grid-template-columns: 1fr;
    }

    .phone-input {
        flex-direction: column;
    }

    .phone-prefix, .phone-number {
        width: 100%;
    }

    .captcha-row, .sms-row {
        flex-direction: column;
    }

    .captcha-img, .sms-btn {
        width: 100%;
        height: 32px;
    }
}

.rshelp {
    margin: 30px 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.rshelp p {
    margin-bottom: 5px;
}

.qrcode {
    display: flex;
    gap: 20px;
    padding-top: 10px;
    margin-left: 50px;
}

.qrcode img {
    width: 120px;
    height: auto;
    object-fit: cover;
}

.registerbtn {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    margin: 15px auto;
}

@media (max-width: 576px) {
    .banner-content {
        display: none;
    }
}
