/* ══════════════════════════════════════════════════════════════
   知识产权投诉系统 – 匹配 BOX 模板风格
   ══════════════════════════════════════════════════════════════ */

/* ─── Login / Register 独立页面（复用商户登录注册样式） ─── */
body.ipr-login-page,
body.ipr-register-page {
    background: #f5f5f5;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    font-family: 'Microsoft YaHei', Arial, sans-serif;
}

body.ipr-login-page::before,
body.ipr-login-page::after,
body.ipr-register-page::before,
body.ipr-register-page::after {
    content: '';
    position: fixed;
    top: 0;
    width: 50vw;
    height: 100vh;
    background-image: url('../image/login.jpg');
    background-size: 200% 100%;
    background-repeat: no-repeat;
    z-index: 0;
}

body.ipr-login-page::before,
body.ipr-register-page::before {
    left: 0;
    background-position: left center;
    transform: translateX(-100%);
    animation: iprSlideIn 1.6s ease forwards;
}

body.ipr-login-page::after,
body.ipr-register-page::after {
    right: 0;
    background-position: right center;
    transform: translateX(100%);
    animation: iprSlideIn 1.6s ease forwards;
}

@keyframes iprSlideIn {
    to { transform: translateX(0); }
}

.ipr-login-wrap,
.ipr-register-wrap {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 10;
    animation: iprFadeIn 0.6s ease 0.8s backwards;
}

.ipr-register-wrap {
    max-width: 560px;
}

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

.ipr-form-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 45px 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid #1E90FF;
}

.ipr-form-card .form-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.3;
}

.ipr-form-card .title-main {
    color: #1E90FF;
    font-size: 26px;
    font-weight: 700;
}

.ipr-form-card .title-divider {
    color: #cccccc;
    font-size: 22px;
    font-weight: 300;
    margin: 0 6px;
}

.ipr-form-card .title-link {
    color: #888888;
    font-size: 19px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.ipr-form-card .title-link:hover {
    color: #1E90FF;
}

.ipr-field-wrap {
    position: relative;
    margin-bottom: 18px;
}

.ipr-field-wrap i.field-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaaaaa;
    font-size: 16px;
    z-index: 1;
}

.ipr-field-wrap .ipr-field {
    width: 100%;
    height: 46px;
    border: 1px solid #dddddd;
    border-radius: 10px;
    padding: 0 15px 0 45px;
    font-size: 14px;
    color: #333333;
    transition: border-color 0.3s ease;
    outline: none;
    background: #fff;
    box-sizing: border-box;
}

.ipr-field-wrap .ipr-field::placeholder {
    color: #bbbbbb;
}

.ipr-field-wrap .ipr-field:focus {
    border-color: #1E90FF;
}

.ipr-form-card .ipr-submit-btn {
    width: 100%;
    height: 48px;
    background: #1E90FF;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    cursor: pointer;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    transition: background 0.3s ease;
}

.ipr-form-card .ipr-submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
    transition: left 0.4s ease;
    pointer-events: none;
}

.ipr-form-card .ipr-submit-btn:hover::before {
    left: 100%;
}

.ipr-form-card .ipr-submit-btn:hover {
    background: #1873CC;
}

.ipr-form-card .form-footer-link {
    text-align: center;
    margin-top: 15px;
    font-size: 13px;
}

.ipr-form-card .form-footer-link span {
    color: #999;
}

.ipr-form-card .form-footer-link a {
    color: #1E90FF;
    text-decoration: none;
}

.ipr-form-card .form-footer-link a:hover {
    text-decoration: underline;
}

.ipr-form-card .form-info-tip {
    padding: 10px 14px;
    background: #f0f7ff;
    border: 1px solid #d6e8fa;
    border-radius: 8px;
    font-size: 13px;
    color: #0077be;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ipr-form-card .form-info-tip a {
    color: #0077be;
    font-weight: 600;
}

/* ─── Content Pages (query-page 风格) ─── */
body.ipr-content-page {
    min-height: 100vh;
    position: relative;
    background: #f8f9fa;
}

body.ipr-content-page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../image/ddd.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    filter: blur(8px) brightness(0.6);
    z-index: -1;
}

.ipr-nav-section {
    background: transparent;
    padding: 30px 0;
    margin-top: 120px;
    width: 100%;
    position: relative;
}

.ipr-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.ipr-nav-tabs {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.ipr-nav-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 16px 24px;
    background: transparent;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 16px;
    font-weight: 500;
}

.ipr-nav-tab:hover {
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

.ipr-nav-tab.active {
    color: #1a73e8;
}

.ipr-nav-tab.active span {
    border-bottom: 1px solid #1a73e8;
    padding-bottom: 4px;
}

.ipr-nav-tab i {
    font-size: 24px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.ipr-nav-icon {
    width: 36px;
    height: 36px;
    object-fit: contain;
    opacity: 0.7;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.ipr-nav-tab.active .ipr-nav-icon,
.ipr-nav-tab:hover .ipr-nav-icon {
    opacity: 1;
    transform: scale(1.1);
}

.ipr-nav-tab.active i,
.ipr-nav-tab:hover i {
    opacity: 1;
}

.ipr-section {
    padding: 0 0 120px 0;
    position: relative;
}

.ipr-box {
    position: relative;
    border-radius: 16px;
    padding: 50px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    overflow: hidden;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.85);
}

.ipr-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../image/banne/mf.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.4;
    filter: blur(3px);
    z-index: 0;
}

.ipr-box > * {
    position: relative;
    z-index: 1;
}

.ipr-box-inner {
    background: rgba(255, 255, 255, 0.65);
    padding: 35px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* ─── Hero (首页专用) ─── */
.ipr-hero-section {
    background: transparent;
    padding: 30px 0 0;
    margin-top: 120px;
}

.ipr-hero-box {
    position: relative;
    border-radius: 20px;
    padding: 70px 60px 65px;
    overflow: hidden;
    text-align: center;
    color: white;
    background: url('/static/theme/box/image/banne/djasi1.png') center center / cover no-repeat;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.06);
}

.ipr-hero-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10, 22, 40, 0.70);
    z-index: 0;
}

.ipr-hero-decoration {
    position: absolute; top: -120px; right: -80px;
    width: 400px; height: 400px; border-radius: 50%;
    background: radial-gradient(circle, rgba(30,144,255,.15) 0%, transparent 70%);
    pointer-events: none;
}

.ipr-hero-decoration-2 {
    position: absolute; bottom: -150px; left: -100px;
    width: 500px; height: 500px; border-radius: 50%;
    background: radial-gradient(circle, rgba(0,119,190,.1) 0%, transparent 70%);
    pointer-events: none;
}

.ipr-hero-badge {
    position: relative; z-index: 1;
    display: inline-block;
    padding: 5px 16px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    background: rgba(30,144,255,.2);
    border: 1px solid rgba(30,144,255,.3);
    color: #6db3f2;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.ipr-hero-box h1 {
    position: relative; z-index: 1;
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #ffffff 0%, #c8ddf0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ipr-hero-box p {
    position: relative; z-index: 1;
    font-size: 15px;
    line-height: 1.8;
    opacity: .7;
    margin-bottom: 0;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.ipr-hero-actions {
    position: relative; z-index: 1;
    margin-top: 32px;
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.ipr-hero-actions .hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 32px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,.15);
    color: rgba(255,255,255,.85);
    background: rgba(255,255,255,.06);
    backdrop-filter: blur(4px);
}

.ipr-hero-actions .hero-btn:hover {
    background: rgba(255,255,255,.12);
    border-color: rgba(255,255,255,.3);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,.2);
}

.ipr-hero-actions .hero-btn-primary {
    background: linear-gradient(135deg, #1E90FF, #0077be);
    border-color: rgba(30,144,255,.5);
    color: white;
    box-shadow: 0 4px 15px rgba(30,144,255,.3);
}

.ipr-hero-actions .hero-btn-primary:hover {
    background: linear-gradient(135deg, #3aa0ff, #1E90FF);
    box-shadow: 0 8px 30px rgba(30,144,255,.4);
    border-color: rgba(30,144,255,.7);
    color: white;
}

.ipr-hero-actions .hero-btn-ghost {
    padding: 10px 22px;
    font-size: 13px;
    opacity: .7;
    border-color: rgba(255,255,255,.1);
}
.ipr-hero-actions .hero-btn-ghost:hover { opacity: 1; }

/* ─── Stats Row ─── */
.ipr-stats-row {
    display: flex;
    gap: 20px;
    margin: -30px auto 30px;
    position: relative;
    z-index: 2;
}

.ipr-stat-card {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-radius: 14px;
    padding: 22px 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(255,255,255,0.95);
    transition: transform .2s, box-shadow .2s;
}

.ipr-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,.1);
}

.ipr-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(0,119,190,.08);
    color: #0077be;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.ipr-stat-info { flex: 1; }

.ipr-stat-num {
    font-size: 28px;
    font-weight: 800;
    color: #1a2332;
    font-variant-numeric: tabular-nums;
    line-height: 1.1;
}

.ipr-stat-label {
    font-size: 13px;
    color: #8899a6;
    margin-top: 2px;
}

/* ─── Info Cards (首页流程/类型) ─── */
.ipr-info-card {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    border-radius: 18px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(255,255,255,0.95);
    margin-bottom: 24px;
    overflow: hidden;
}

.ipr-info-card-head {
    padding: 20px 32px;
    border-bottom: 1px solid rgba(0,0,0,.05);
    font-size: 17px;
    font-weight: 700;
    color: #1a2332;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ipr-info-card-head i {
    color: #0077be;
    font-size: 18px;
}

.ipr-info-card-body {
    padding: 32px;
}

/* ─── Process Steps (新流程) ─── */
.ipr-process-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.ipr-process-step {
    flex: 1;
    max-width: 220px;
    text-align: center;
    padding: 28px 16px;
    position: relative;
}

.ipr-process-num {
    font-size: 13px;
    font-weight: 800;
    color: #0077be;
    opacity: .4;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.ipr-process-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(0,119,190,.08), rgba(30,144,255,.12));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #0077be;
    margin-bottom: 16px;
    transition: all .3s ease;
}

.ipr-process-step:hover .ipr-process-icon {
    background: linear-gradient(135deg, #0077be, #1E90FF);
    color: white;
    transform: scale(1.08);
    box-shadow: 0 8px 25px rgba(0,119,190,.25);
}

.ipr-process-title {
    font-size: 15px;
    font-weight: 700;
    color: #1a2332;
    margin-bottom: 6px;
}

.ipr-process-desc {
    font-size: 13px;
    color: #8899a6;
    line-height: 1.5;
}

.ipr-process-arrow {
    display: flex;
    align-items: center;
    padding-top: 60px;
    color: #c5d0da;
    font-size: 14px;
    flex-shrink: 0;
}

/* ─── Type Cards (侵权类型) ─── */
.ipr-type-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.ipr-type-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 28px;
    border-radius: 14px;
    background: rgba(255,255,255,.5);
    border: 1px solid rgba(0,0,0,.04);
    transition: all .3s ease;
}

.ipr-type-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,.08);
    border-color: transparent;
}

.ipr-type-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    transition: transform .3s;
}

.ipr-type-card:hover .ipr-type-icon-wrap { transform: scale(1.1); }

.ipr-type-orange .ipr-type-icon-wrap { background: linear-gradient(135deg, rgba(245,124,0,.08), rgba(245,124,0,.15)); color: #f57c00; }
.ipr-type-purple .ipr-type-icon-wrap { background: linear-gradient(135deg, rgba(124,58,237,.08), rgba(124,58,237,.15)); color: #7c3aed; }
.ipr-type-green .ipr-type-icon-wrap  { background: linear-gradient(135deg, rgba(40,167,69,.08), rgba(40,167,69,.15)); color: #28a745; }
.ipr-type-red .ipr-type-icon-wrap    { background: linear-gradient(135deg, rgba(220,53,69,.08), rgba(220,53,69,.15)); color: #dc3545; }

.ipr-type-orange:hover { background: rgba(245,124,0,.04); border-color: rgba(245,124,0,.15); }
.ipr-type-purple:hover { background: rgba(124,58,237,.04); border-color: rgba(124,58,237,.15); }
.ipr-type-green:hover  { background: rgba(40,167,69,.04); border-color: rgba(40,167,69,.15); }
.ipr-type-red:hover    { background: rgba(220,53,69,.04); border-color: rgba(220,53,69,.15); }

.ipr-type-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a2332;
    margin-bottom: 4px;
}

.ipr-type-desc {
    font-size: 13px;
    color: #8899a6;
    line-height: 1.5;
}

/* ─── Form Elements (内容页表单) ─── */
.ipr-form-group {
    margin-bottom: 20px;
}

.ipr-form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.ipr-form-label .required {
    color: #dc3545;
    margin-right: 4px;
}

.ipr-form-hint {
    font-size: 12px;
    color: #6c757d;
    margin-top: 4px;
}

.ipr-input,
.ipr-textarea,
.ipr-select {
    width: 100%;
    height: 50px;
    padding: 12px 18px;
    border: 1px solid #e8ecef;
    border-radius: 12px;
    font-size: 15px;
    color: #2c3e50;
    background: white;
    outline: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.ipr-input:hover,
.ipr-textarea:hover,
.ipr-select:hover {
    border-color: #d1d5db;
    background: #f8fbff;
}

.ipr-input:focus,
.ipr-textarea:focus,
.ipr-select:focus {
    border-color: #5b8fd8;
    background: white;
    box-shadow: 0 0 0 1px rgba(91, 143, 216, 0.1), 0 2px 8px rgba(0, 0, 0, 0.04);
}

.ipr-input::placeholder,
.ipr-textarea::placeholder {
    color: #bdc3c7;
    font-size: 14px;
}

.ipr-textarea {
    height: auto;
    min-height: 100px;
    resize: vertical;
    line-height: 1.6;
}

.ipr-select {
    appearance: none;
    cursor: pointer;
    padding-right: 45px;
    background-image: url('data:image/svg+xml;charset=UTF-8,%3Csvg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"%3E%3Cpath fill="%235b8fd8" d="M8 11L3 6h10z"/%3E%3C/svg%3E');
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 14px;
}

/* ─── Radio Group ─── */
.ipr-radio-group {
    display: flex;
    gap: 0;
    border: 1px solid #e8ecef;
    border-radius: 12px;
    overflow: hidden;
}

.ipr-radio-btn {
    flex: 1;
    text-align: center;
    padding: 10px 16px;
    font-size: 14px;
    cursor: pointer;
    border-right: 1px solid #e8ecef;
    transition: all 0.3s ease;
    user-select: none;
    background: #fff;
    color: #495057;
    font-weight: 500;
}

.ipr-radio-btn:last-child {
    border-right: none;
}

.ipr-radio-btn.active {
    background: #0077be;
    color: #fff;
    border-color: #0077be;
}

.ipr-radio-btn input {
    display: none;
}

/* ─── Upload ─── */
.ipr-upload-area {
    border: 2px dashed rgba(91,143,216,0.4);
    border-radius: 12px;
    padding: 28px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(91,143,216,0.02);
    position: relative;
    min-height: 120px;
}

.ipr-upload-area:hover {
    border-color: #5b8fd8;
    background: rgba(91,143,216,0.06);
}

.ipr-upload-area.has-file {
    border-style: solid;
    border-color: rgba(91,143,216,0.3);
    padding: 12px;
}
.ipr-upload-area.has-file .ipr-upload-icon,
.ipr-upload-area.has-file .ipr-upload-text,
.ipr-upload-area.has-file .ipr-upload-hint {
    display: none;
}

.ipr-upload-area input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.ipr-upload-icon {
    font-size: 32px;
    color: #5b8fd8;
    margin-bottom: 8px;
}

.ipr-upload-text {
    font-size: 14px;
    color: #495057;
    font-weight: 500;
}

.ipr-upload-hint {
    font-size: 12px;
    color: #6c757d;
    margin-top: 4px;
}

.ipr-upload-preview {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ipr-upload-preview img {
    max-width: 100%;
    max-height: 220px;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid rgba(91,143,216,0.15);
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.ipr-upload-preview .ipr-upload-reupload {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0,0,0,0.55);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 12px;
    cursor: pointer;
    z-index: 3;
    transition: background 0.2s;
}
.ipr-upload-preview .ipr-upload-reupload:hover {
    background: rgba(220,53,69,0.8);
}

/* ─── Buttons ─── */
.ipr-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.ipr-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.ipr-btn:hover::before {
    left: 100%;
}

.ipr-btn-primary {
    background: #0077be;
    color: white;
    box-shadow: 0 3px 12px rgba(0, 119, 190, 0.25);
}

.ipr-btn-primary:hover {
    background: #005f99;
    box-shadow: 0 4px 16px rgba(0, 119, 190, 0.4);
    color: white;
    text-decoration: none;
}

.ipr-btn-primary:active {
    background: #004c7a;
    transform: scale(0.98);
}

.ipr-btn-default {
    background: white;
    color: #495057;
    border: 1px solid #dee2e6;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.ipr-btn-default:hover {
    border-color: #5b8fd8;
    color: #0077be;
    background: #f8fbff;
    text-decoration: none;
}

.ipr-btn-danger {
    background: #dc3545;
    color: white;
    box-shadow: 0 3px 12px rgba(220, 53, 69, 0.25);
}

.ipr-btn-danger:hover {
    background: #c82333;
    color: white;
    text-decoration: none;
}

.ipr-btn-lg {
    height: 50px;
    padding: 0 32px;
    font-size: 16px;
    border-radius: 12px;
}

.ipr-btn-sm {
    height: 34px;
    padding: 0 14px;
    font-size: 13px;
    border-radius: 8px;
}

.ipr-btn-block {
    width: 100%;
    display: flex;
}

.ipr-btn:disabled {
    opacity: .5;
    cursor: not-allowed;
}

/* ─── Steps (提交页步骤条) ─── */
.ipr-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    padding: 20px 0;
    gap: 0;
}

.ipr-step {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.ipr-step-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,.6);
    border: 2px solid #dee2e6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: #adb5bd;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.ipr-step.active .ipr-step-icon {
    background: #0077be;
    border-color: #0077be;
    color: #fff;
    box-shadow: 0 0 0 4px rgba(0,119,190,0.15);
}

.ipr-step.done .ipr-step-icon {
    background: #28a745;
    border-color: #28a745;
    color: #fff;
}

.ipr-step-title {
    font-size: 14px;
    color: #adb5bd;
    font-weight: 500;
    white-space: nowrap;
}

.ipr-step.active .ipr-step-title {
    color: #0077be;
    font-weight: 600;
}
.ipr-step.done .ipr-step-title {
    color: #28a745;
    font-weight: 600;
}

.ipr-step-arrow {
    width: 40px;
    text-align: center;
    color: #dee2e6;
    font-size: 14px;
    flex-shrink: 0;
}
.ipr-step.done + .ipr-step-arrow,
.ipr-step.active + .ipr-step-arrow {
    color: #0077be;
}
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: #6c757d;
    margin-bottom: 8px;
    transition: all .2s;
}

.ipr-step.active .ipr-step-icon {
    background: #0077be;
    border-color: #0077be;
    color: #fff;
}

.ipr-step.done .ipr-step-icon {
    background: #28a745;
    border-color: #28a745;
    color: #fff;
}

.ipr-step-title {
    font-size: 13px;
    color: #6c757d;
    font-weight: 500;
}

.ipr-step.active .ipr-step-title,
.ipr-step.done .ipr-step-title {
    color: #2c3e50;
    font-weight: 600;
}


/* ─── Section Card (表单区块) ─── */
.ipr-section-card {
    background: rgba(255, 255, 255, 0.65);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 24px;
    overflow: hidden;
}

.ipr-section-card-head {
    padding: 18px 30px;
    border-bottom: 1px solid rgba(0,0,0,.06);
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,.3);
}

.ipr-section-card-head i {
    color: #0077be;
}

.ipr-section-card-head i.text-danger { color: #dc3545; }
.ipr-section-card-head i.text-success { color: #28a745; }
.ipr-section-card-head i.text-warning { color: #f57c00; }
.ipr-section-card-head i.text-purple { color: #7c3aed; }

.ipr-section-card-body {
    padding: 30px;
}

/* ─── Table ─── */
.ipr-table-wrap {
    overflow-x: auto;
}

.ipr-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.ipr-table th {
    background: rgba(0, 119, 190, 0.04);
    padding: 14px 18px;
    font-weight: 600;
    color: #2c3e50;
    text-align: left;
    border-bottom: 2px solid rgba(0,0,0,.06);
    white-space: nowrap;
}

.ipr-table td {
    padding: 14px 18px;
    border-bottom: 1px solid rgba(0,0,0,.04);
    color: #495057;
}

.ipr-table tr:hover td {
    background: rgba(0, 119, 190, 0.02);
}

/* ─── Tags / Badges ─── */
.ipr-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 26px;
    padding: 0 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
}

.ipr-tag-blue { color: #0077be; background: rgba(0,119,190,.08); }
.ipr-tag-green { color: #28a745; background: rgba(40,167,69,.08); }
.ipr-tag-orange { color: #f57c00; background: rgba(245,124,0,.08); }
.ipr-tag-red { color: #dc3545; background: rgba(220,53,69,.08); }
.ipr-tag-purple { color: #7c3aed; background: rgba(124,58,237,.08); }
.ipr-tag-gray { color: #6c757d; background: rgba(0,0,0,.04); }

/* ─── Alert / Info Box ─── */
.ipr-alert {
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.ipr-alert-info {
    background: #f0f7ff;
    border: 1px solid #d6e8fa;
    color: #0077be;
}

.ipr-alert-warning {
    background: #fff8e1;
    border: 1px solid #ffe082;
    color: #e65100;
}

.ipr-alert-success {
    background: #e8f5e9;
    border: 1px solid #a5d6a7;
    color: #2e7d32;
}

/* ─── Search Box ─── */
.ipr-search-box {
    position: relative;
}

.ipr-search-box .ipr-input {
    padding-right: 40px;
}

.ipr-search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e8ecef;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    max-height: 300px;
    overflow-y: auto;
    z-index: 100;
    display: none;
    margin-top: 4px;
}

.ipr-search-dropdown.show {
    display: block;
}

.ipr-search-item {
    padding: 12px 18px;
    cursor: pointer;
    font-size: 14px;
    transition: background .2s;
    border-bottom: 1px solid rgba(0,0,0,.03);
}

.ipr-search-item:last-child {
    border-bottom: none;
}

.ipr-search-item:hover {
    background: #f8fbff;
}

.ipr-search-item-name {
    color: #2c3e50;
    font-weight: 500;
}

.ipr-search-item-sub {
    font-size: 12px;
    color: #6c757d;
    margin-top: 2px;
}

/* ─── Timeline ─── */
.ipr-timeline {
    position: relative;
    padding-left: 28px;
}

.ipr-timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: #dee2e6;
}

.ipr-timeline-item {
    position: relative;
    padding-bottom: 24px;
}

.ipr-timeline-dot {
    position: absolute;
    left: -28px;
    top: 4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #dee2e6;
}

.ipr-timeline-item.active .ipr-timeline-dot {
    border-color: #0077be;
    background: #0077be;
}

.ipr-timeline-time {
    font-size: 12px;
    color: #6c757d;
    margin-bottom: 4px;
}

.ipr-timeline-content {
    font-size: 14px;
    color: #2c3e50;
    line-height: 1.6;
}

/* ─── Disclaimer (通知区) ─── */
.ipr-disclaimer {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 12px;
    padding: 25px;
    margin-top: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.ipr-disclaimer h4 {
    color: #2c3e50;
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 12px;
}

.ipr-disclaimer p {
    color: #34495e;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 8px;
}

/* ─── Pagination ─── */
.ipr-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.ipr-pagination .page-link {
    min-width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    font-size: 14px;
    color: #495057;
    text-decoration: none;
    transition: all 0.3s ease;
}

.ipr-pagination .page-link:hover {
    color: #0077be;
    border-color: #5b8fd8;
    background: #f8fbff;
}

.ipr-pagination .active .page-link {
    background: #0077be;
    color: #fff;
    border-color: #0077be;
}

/* ─── Detail Info Table ─── */
.ipr-detail-table {
    width: 100%;
    font-size: 14px;
}

.ipr-detail-table td {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,.04);
}

.ipr-detail-table td:first-child {
    width: 120px;
    color: #6c757d;
    font-weight: 500;
}

.ipr-detail-table td:last-child {
    color: #2c3e50;
}

/* ─── Status Icon (详情页状态) ─── */
.ipr-status-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    flex-shrink: 0;
}

.ipr-status-icon.status-pending { background: rgba(245,124,0,.08); color: #f57c00; }
.ipr-status-icon.status-accepted { background: rgba(0,119,190,.08); color: #0077be; }
.ipr-status-icon.status-executed { background: rgba(40,167,69,.08); color: #28a745; }
.ipr-status-icon.status-rejected { background: rgba(220,53,69,.08); color: #dc3545; }
.ipr-status-icon.status-appeal { background: rgba(124,58,237,.08); color: #7c3aed; }
.ipr-status-icon.status-cancelled { background: rgba(0,0,0,.04); color: #6c757d; }
.ipr-status-icon.status-appeal-rejected { background: rgba(235,47,150,.08); color: #eb2f96; }

/* ─── Back to Top ─── */
.ipr-back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0077be, #005f99);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 119, 190, 0.3);
    z-index: 1000;
}

.ipr-back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.ipr-back-to-top:hover {
    background: linear-gradient(135deg, #005f99, #0077be);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 119, 190, 0.4);
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
    .ipr-hero-box { padding: 50px 24px 45px; }
    .ipr-hero-box h1 { font-size: 26px; }
    .ipr-stats-row { flex-direction: column; gap: 12px; margin-top: -20px; }
    .ipr-process-steps { flex-direction: column; align-items: center; gap: 0; }
    .ipr-process-arrow { transform: rotate(90deg); padding: 0; }
    .ipr-type-grid { grid-template-columns: 1fr; }
    .ipr-hero-actions { flex-direction: column; align-items: center; }
    .ipr-radio-group { flex-wrap: wrap; }
    .ipr-box { padding: 30px 20px; }
    .ipr-box-inner { padding: 25px 20px; }
    .ipr-section-card-body { padding: 20px; }
    .ipr-nav-tabs { gap: 10px; justify-content: center; }
    .ipr-nav-tab { padding: 12px 16px; font-size: 14px; }

    .ipr-form-card { padding: 35px 25px; }
    .ipr-login-wrap, .ipr-register-wrap { max-width: 100%; padding: 15px; }
}

@media (max-width: 480px) {
    .ipr-nav-section { margin-top: 100px; }
    .ipr-hero-section { margin-top: 100px; }
}
