/* ✠ v4.0.0 */




@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Inter:wght@400;700;900&display=swap');




* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}




input, button, select, textarea {
    font-family: inherit;
}




:Root {
    --Card_Width: 460px;
    --Card_Height: 700px;
    --Primary_Dark: #0a0a0a;
    --Surface_Dark: #050505;
    --Accent_Color: #8b0000;
    --Accent_Glow: rgba(139, 0, 0, 0.4);
    --Accent_Dim: rgba(139, 0, 0, 0.12);
    --Border_Gray: #1a1a1a;
    --Border_Subtle: #121212;
    --Text_White: #ffffff;
    --Text_Gray: #a0a0a0;
    --Input_Bg: #0f0f0f;
}




Body {
    font-family: 'Inter', sans-serif;
    background-color: var(--Primary_Dark);
    color: var(--Text_White);
    min-height: 100vh;
}




.Page_Wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2rem;
    min-height: 100vh;
    align-items: start;
}




.Form_Panel {
    background-color: var(--Surface_Dark);
    border: 1px solid var(--Border_Gray);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    overflow-y: auto;
    max-height: 90vh;
}




.Form_Panel_Title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--Text_White);
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--Accent_Color);
    text-transform: uppercase;
}




.Form_Section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--Border_Gray);
}




.Form_Section:first-of-type {
    border-top: none;
    padding-top: 0;
}




.Form_Section_Title {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--Text_Gray);
    text-transform: uppercase;
}




.Form_Grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}




.Form_Grid .Col_Span_2 {
    grid-column: span 2;
}




.Form_Triple {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.5rem;
}




.Input_Group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}




Input[type="file"] {
    width: 100%;
    background-color: var(--Input_Bg);
    border: 1px solid var(--Border_Subtle);
    border-bottom: 2px solid var(--Border_Gray);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    color: var(--Text_Gray);
    cursor: pointer;
    transition: all 0.3s ease;
}




Input[type="file"]:hover {
    border-bottom-color: var(--Accent_Color);
}




.Checkbox_Grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}




.Checkbox_Item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--Input_Bg);
    border: 1px solid var(--Border_Subtle);
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    font-size: 0.75rem;
    color: var(--Text_Gray);
    transition: all 0.3s ease;
}




.Checkbox_Item:hover {
    border-color: var(--Accent_Color);
    color: var(--Text_White);
}




.Checkbox_Item Input[type="checkbox"] {
    accent-color: var(--Accent_Color);
    width: 14px;
    height: 14px;
    cursor: pointer;
}




.Download_Button {
    width: 100%;
    background-color: transparent;
    color: var(--Accent_Color);
    border: 1px solid var(--Accent_Color);
    border-radius: 8px;
    padding: 1rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    margin-top: 0.5rem;
}




.Download_Button:hover {
    background-color: var(--Accent_Color);
    color: var(--Text_White);
    box-shadow: 0 10px 30px var(--Accent_Glow);
    transform: translateY(-2px);
}




.Preview_Panel {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 2.5rem 0;
}




Label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--Text_Gray);
    letter-spacing: 1px;
    text-transform: uppercase;
}




Input[type="text"] {
    width: 100%;
    background-color: var(--Input_Bg);
    border: 1px solid var(--Border_Subtle);
    border-bottom: 2px solid var(--Border_Gray);
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 13px;
    color: var(--Text_White);
    outline: none;
    transition: all 0.3s ease;
}




Input[type="text"]:focus {
    border-bottom-color: var(--Accent_Color);
    background-color: var(--Primary_Dark);
    box-shadow: 0 4px 12px -5px var(--Accent_Glow);
    caret-color: var(--Accent_Color);
}




.Card_Main_Frame {
    width: var(--Card_Width);
    height: var(--Card_Height);
    background: var(--Surface_Dark);
    position: relative;
    clip-path: polygon(12% 0%, 88% 0%, 100% 100%, 0% 100%);
    border: 2px solid var(--Border_Gray);
    padding: 6px;
    box-shadow: 0 0 40px var(--Accent_Dim);
}




.Card_Inner_Container {
    width: 100%;
    height: 100%;
    border: 1px solid var(--Accent_Color);
    clip-path: polygon(12% 0%, 88% 0%, 100% 100%, 0% 100%);
    background: var(--Surface_Dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}




.Card_Inner_Container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, var(--Accent_Dim) 0%, transparent 70%);
    pointer-events: none;
}




.Card_Avatar_Wrapper {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--Input_Bg);
    border: 4px solid var(--Border_Gray);
    margin-top: 30px;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 20px var(--Accent_Glow);
}




.Card_Avatar_Wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}




.Card_Header_Info {
    text-align: center;
    margin-top: 20px;
    z-index: 2;
}




.Card_Header_Info h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 32px;
    font-weight: 900;
    letter-spacing: 4px;
    color: var(--Text_White);
    line-height: 1;
    text-shadow: 0 0 15px var(--Accent_Glow);
}




.Card_Header_Info h2 {
    color: var(--Accent_Color);
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 12px;
    margin-top: 8px;
    letter-spacing: 3px;
    text-transform: uppercase;
}




.Card_Status_Row {
    display: flex;
    gap: 15px;
    justify-content: center;
    font-size: 9px;
    font-weight: 900;
    color: var(--Text_Gray);
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}




.Card_Red_Line {
    width: 70%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--Accent_Color), transparent);
    margin: 15px 0;
    opacity: 0.6;
}




.Card_Information_Grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 82%;
    gap: 12px;
    z-index: 2;
}




.Card_Info_Box {
    border-left: 2px solid var(--Border_Gray);
    padding-left: 10px;
    transition: border-color 0.3s ease;
}




.Card_Info_Box.Red_Border {
    border-left-color: var(--Accent_Color);
}




.Card_Info_Box Label {
    font-size: 8px;
    color: var(--Text_Gray);
    margin-bottom: 2px;
}




.Card_Info_Box span {
    font-weight: 800;
    font-size: 13px;
    display: block;
    color: var(--Text_White);
    font-family: 'Orbitron', sans-serif;
}




.Card_Stats_Section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 75%;
    margin-top: 25px;
    z-index: 2;
}




.Stat_Item {
    text-align: center;
}




.Stat_Item Label {
    font-size: 7px;
    color: var(--Text_Gray);
}




.Stat_Item span {
    font-weight: 900;
    font-size: 18px;
    font-family: 'Orbitron', sans-serif;
    color: var(--Text_White);
}




.Stat_Separator {
    width: 1px;
    height: 20px;
    background: var(--Accent_Color);
    opacity: 0.4;
}




.Red_Text {
    color: var(--Accent_Color);
}




.Card_Permissions_Container {
    width: 80%;
    margin-top: 20px;
    text-align: center;
    z-index: 2;
}




.Permissions_Title {
    font-size: 8px;
    font-weight: 900;
    color: var(--Text_Gray);
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-transform: uppercase;
}




.Permissions_Grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}




.Perm_Item {
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
}




.Perm_Item.Enabled { 
    color: var(--Accent_Color); 
    text-shadow: 0 0 8px var(--Accent_Glow);
}




.Perm_Item.Disabled { 
    color: var(--Border_Gray); 
    text-decoration: line-through; 
}




.Card_Bottom_Details {
    margin-top: auto;
    width: 82%;
    padding-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    z-index: 2;
}




.Bottom_Meta {
    font-size: 7px;
    font-weight: 700;
    color: var(--Text_Gray);
    line-height: 1.6;
}




.Bottom_Motto {
    font-size: 8px;
    font-weight: 900;
    font-style: italic;
    text-align: right;
    width: 45%;
    color: var(--Text_White);
}




.Card_Footer_Bar {
    position: absolute;
    bottom: 8px;
    font-size: 6.5px;
    font-weight: 800;
    color: var(--Border_Subtle);
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}




@media (max-width: 900px) {

    .Page_Wrapper {
        display: flex;
        flex-direction: column;
        padding: 1rem;
        gap: 1.5rem;
    }

    .Form_Panel {
        max-height: none;
        order: 2;
        width: 100%;
    }

    .Preview_Panel {
        order: 1;
        width: 100%;
        padding: 1rem 0 0;
        overflow: hidden;
    }

    .Form_Grid {
        grid-template-columns: 1fr;
    }

    .Form_Grid .Col_Span_2 {
        grid-column: span 1;
    }

    .Form_Triple {
        grid-template-columns: 1fr;
    }

    .Checkbox_Grid {
        grid-template-columns: 1fr;
    }

}




@media (max-width: 900px) {

    #Card_Capture_Area {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .Card_Scale_Wrapper {
        transform-origin: top center;
        transform: scale(var(--card-scale, 0.75));
        margin-bottom: calc((700px * var(--card-scale, 0.75)) - 700px);
    }

}
