* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: radial-gradient(ellipse at center, rgba(0,0,0,1) 0%, rgba(2,16,36,1) 50%, rgba(0,0,0,1) 100%);
    min-height: 100vh;
}

.star-layers {
    position: fixed;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.star-layer {
    position: absolute;
    width: 100%;
    height: 100%;
}

#stars {
    width: 1px;
    height: 1px;
    background: transparent;
    box-shadow: 70px 61px #FFF,267px 660px #FFF,347px 841px #FFF,980px 702px #FFF,1120px 869px #FFF,1488px 243px #FFF,1827px 753px #FFF,1941px 833px #FFF,1155px 833px #FFF,1964px 932px #FFF,1347px 843px #FFF,1761px 826px #FFF,1570px 998px #FFF,1879px 549px #FFF,1530px 514px #FFF,1797px 787px #FFF,1613px 437px #FFF,1566px 655px #FFF,1196px 130px #FFF,174px 122px #FFF,334px 321px #FFF,695px 682px #FFF,160px 405px #FFF,440px 738px #FFF,177px 894px #FFF,551px 486px #FFF,655px 506px #FFF,182px 881px #FFF,110px 666px #FFF,928px 865px #FFF;
    animation: animStar 50s linear infinite;
}

#stars:after {
    content: '';
    position: absolute;
    top: 100vh;
    width: 1px;
    height: 1px;
    background: transparent;
    box-shadow: 70px 61px #FFF,267px 660px #FFF,347px 841px #FFF,980px 702px #FFF,1120px 869px #FFF,1488px 243px #FFF,1827px 753px #FFF,1941px 833px #FFF,1155px 833px #FFF,1964px 932px #FFF,1347px 843px #FFF,1761px 826px #FFF,1570px 998px #FFF,1879px 549px #FFF,1530px 514px #FFF,1797px 787px #FFF,1613px 437px #FFF,1566px 655px #FFF,1196px 130px #FFF,174px 122px #FFF,334px 321px #FFF,695px 682px #FFF,160px 405px #FFF,440px 738px #FFF,177px 894px #FFF,551px 486px #FFF,655px 506px #FFF,182px 881px #FFF,110px 666px #FFF,928px 865px #FFF;
}

#stars2 {
    width: 2px;
    height: 2px;
    background: transparent;
    box-shadow: 70px 61px #FFF,267px 660px #FFF,347px 841px #FFF,980px 702px #FFF,1120px 869px #FFF,1488px 243px #FFF,1827px 753px #FFF,1941px 833px #FFF,1155px 833px #FFF,1964px 932px #FFF;
    animation: animStar 100s linear infinite;
}

#stars2:after {
    content: '';
    position: absolute;
    top: 100vh;
    width: 2px;
    height: 2px;
    background: transparent;
    box-shadow: 70px 61px #FFF,267px 660px #FFF,347px 841px #FFF,980px 702px #FFF,1120px 869px #FFF,1488px 243px #FFF,1827px 753px #FFF,1941px 833px #FFF,1155px 833px #FFF,1964px 932px #FFF;
}

#stars3 {
    width: 3px;
    height: 3px;
    background: transparent;
    box-shadow: 170px 161px #FFF,467px 760px #FFF,547px 941px #FFF,1180px 802px #FFF,1320px 969px #FFF,1688px 343px #FFF,1927px 853px #FFF,1941px 933px #FFF,1355px 933px #FFF,1964px 932px #FFF;
    animation: animStar 150s linear infinite;
}

#stars3:after {
    content: '';
    position: absolute;
    top: 100vh;
    width: 3px;
    height: 3px;
    background: transparent;
    box-shadow: 170px 161px #FFF,467px 760px #FFF,547px 941px #FFF,1180px 802px #FFF,1320px 969px #FFF,1688px 343px #FFF,1927px 853px #FFF,1941px 933px #FFF,1355px 933px #FFF,1964px 932px #FFF;
}

@keyframes animStar {
    from { transform: translateY(0); }
    to { transform: translateY(-100vh); }
}

.portal-header {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 10px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
    color:#ffffff;
}

.portal-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.portal-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #2c3e50 0%, #1a1a1a 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 20px;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
}

.portal-content {
    padding: 0px 20px 18px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.page-title {
    text-align: center;
    margin-bottom: 16px;
}

.page-title h1 {
    font-size: 32px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 8px;
}

.page-subtitle {
    color: #000000;
    text-align: center;
    margin-bottom: 12px;
    border-radius: 18px;
    padding: 15px 7px;
    background-color: #00000017;
}

.verification-container {
    max-width: 800px;
    margin: 0 auto;
}

.verification-card {
    background-color: #00000017;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    overflow: hidden;
    border: solid 1px #ffffff8a;
}

.card-tabs {
    display: flex;
}

.tab-button {
    flex: 1;
    padding: 13px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.tab-button:hover {
    background: #f8f9fa;
    color: #2c3e50;
}

.tab-button.active {
    color: #ffffff;
    border-bottom-color: #27a4b0;
    background: #113e42;
}

.tab-content {
    display: none;
    padding: 40px;
}

.tab-content.active {
    display: block;
}

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

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

.form-control {
    width: 100%;
    padding: 20px 16px;
    border: 2px solid #e4e9f0;
    border-radius: 10px;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s;
    background: white;
    color: #000000;
}

.form-control:focus {
    outline: none;
    border-color: #2c3e50;
    box-shadow: 0 0 0 4px rgba(44, 62, 80, 0.1);
}

.form-control::placeholder {
    color: #95a5a6;
}

.upload-area {
    border: 2px dashed #d1d8e0;
    border-radius: 10px;
    padding: 60px 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background: #000000;
}

.upload-area:hover {
    border-color: #2c3e50;
    background: #f5f7fa;
}

.upload-area.dragover {
    border-color: #2c3e50;
    background: #ecf0f1;
    transform: scale(1.01);
}

.upload-icon {
    font-size: 48px;
    color: #2c3e50;
    margin-bottom: 16px;
}

.upload-text {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 6px;
}

.upload-hint {
    font-size: 14px;
    color: #7f8c8d;
}

.file-selected {
    display: none;
    margin-top: 16px;
    padding: 12px 16px;
    background: #e8f5e9;
    border-radius: 8px;
    color: #27ae60;
    font-size: 14px;
    font-weight: 500;
}

input[type="file"] {
    display: none;
}

.btn-verify {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #27a4b0 0%, #27a4b0 100%);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-verify:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #27a4b0 0%, #27a4b0 100%);
    box-shadow: 0 8px 20px rgba(44, 62, 80, 0.4);
}

.btn-verify:active {
    transform: translateY(0);
}

.info-section {
    margin-top: 32px;
    padding: 24px;
    background-color: #0000008f;
    border-radius: 12px;
    border-left: 4px solid #2c3e50;
}

.info-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
    font-size: 15px;
}

.info-title i {
    color: #2c3e50;
    font-size: 18px;
}

.info-text {
    font-size: 14px;
    color: #cdcdcd;
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.feature-card {
    background-color: #0000008f;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #27a4b0 0%, #27a4b0 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    color: white;
    font-size: 28px;
}

.feature-title {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
}

.feature-description {
    font-size: 14px;
    color: #7f8c8d;
    line-height: 1.6;
}

/* Modal - Estilo Original */
.modal-scroll .modal-dialog {
    overflow-y: initial !important;
}

.modal-scroll .modal-body {
    max-height: 90vh;
    overflow-y: auto;
}

.modal-full {
    width: 98%;
    max-width: none;
}

.modal-full .modal-content {
    min-height: 90vh;
}

.modal-content {
    border-radius: 4px;
    border: none;
    overflow: hidden;
}

.modal-header {
    background: #f5f5f5;
    border-bottom: 1px solid #e5e5e5;
    padding: 15px 20px;
}

.modal-header .modal-title {
    font-weight: 700;
    font-size: 18px;
    color: #333;
}

.modal-header .btn {
    margin: 0;
}

.modal-body {
    padding: 20px;
}

.btn-sm {
    padding: 5px 10px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
}

.red-mint {
    background-color: #e74c3c;
    border-color: #e74c3c;
    color: #fff;
}

.red-mint:hover {
    background-color: #c0392b;
    border-color: #c0392b;
    color: #fff;
}

.iframeviewdoc {
    display: block;
    background: white;
    border: none;
    height: 85vh;
    width: 100%;
}

.grade-topo {
    padding: 0px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.titulo-func {
    font-size: 21px;
}

.logoprincipal {
    width:155px
}

/* Responsivo */
@media (max-width: 768px) {
    .portal-content {
        padding: 10px 16px;
    }

    .logoprincipal {
        width:105px
    }

    .titulo-func {
        font-size: 14px;
    }
    
    .page-title h1 {
        font-size: 26px;
    }
    
    .page-subtitle {
        font-size: 15px;
    }
    
    .tab-content {
        padding: 28px 20px;
    }
    
    .upload-area {
        padding: 40px 20px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .tab-button {
        font-size: 14px;
        padding: 16px 12px;
    }
    
    .modal-full {
        width: 100%;
        margin: 0;
    }
    
    .modal-full .modal-content {
        min-height: 100vh;
        border-radius: 0;
    }
    
    .iframeviewdoc {
        height: 85vh;
    }
}

@media (max-width: 480px) {
    .portal-header {
        padding: 16px 0;
    }
    
    .logo-text {
        font-size: 16px;
    }
    
    .logo-icon {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
    
    .page-title h1 {
        font-size: 22px;
    }
    
    .tab-button span {
        display: none;
    }
    
    .tab-button i {
        font-size: 18px;
    }
}

.marcanew {
    display: flex; 
    justify-content: space-between;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 1000;
    padding: 5px 10px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    color:#ffffff;
}