/* Is file me animation aur common layout ke liye styles hain */
body {
    font-family: 'Inter', sans-serif;
    background-color: #1A1A3D;
}

#network-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Canvas ko background me rakhta hai */
}

.content-wrapper {
    position: relative;
    z-index: 1;
    /* Background ko thoda transparent rakhta hai taki animation dikhe */
    background-color: rgba(26, 26, 61, 0.85); 
}

.glass-header {
    background-color: rgba(26, 26, 61, 0.8);
    backdrop-filter: blur(10px);
}

.cta-button {
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
}

#form-status {
    margin-top: 1.5rem;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    text-align: center;
    font-weight: 500;
    display: none; /* Initially hidden */
}

#form-status.success {
    background-color: #166534; /* green-800 */
    color: white;
}

#form-status.error {
    background-color: #991b1b; /* red-800 */
    color: white;
}

.form-checkbox, .form-radio {
    -webkit-appearance: none;
    appearance: none;
    background-color: #1A1A3D;
    border: 1px solid #3e3e7a;
    width: 1.25rem;
    height: 1.25rem;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
}

.form-radio {
    border-radius: 50%;
}

.form-checkbox {
    border-radius: 0.25rem;
}

.form-checkbox:checked, .form-radio:checked {
    background-color: #9F7AEA;
    border-color: #9F7AEA;
}

.form-checkbox:checked::after {
    content: '✔';
    font-size: 0.8rem;
    color: white;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.form-radio:checked::after {
    content: '';
    display: block;
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 50%;
    background: white;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

#scrollToTopBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #9F7AEA;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
    transform: translateY(20px);
    z-index: 1000;
}

#scrollToTopBtn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#scrollToTopBtn:hover {
    background-color: #8a63d3;
}

/* Legal Pages Content Style */
.legal-content h2 {
    font-size: 1.875rem; /* text-3xl */
    font-weight: 700;
    color: #E0E6F4;
    margin-top: 2rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #3e3e7a;
    padding-bottom: 0.5rem;
}
.legal-content h3 {
    font-size: 1.25rem; /* text-xl */
    font-weight: 600;
    color: #E0E6F4;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}
.legal-content p {
    margin-bottom: 1rem;
    line-height: 1.75;
}
.legal-content ul {
    list-style-type: disc;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}
.legal-content a {
    color: #9F7AEA;
    text-decoration: underline;
}

/* Career Page File Input Style */
.file-input-label {
    display: block;
    padding: 0.5rem 1rem;
    border: 1px solid #3e3e7a;
    border-radius: 0.5rem;
    background-color: #1A1A3D;
    cursor: pointer;
    text-align: center;
}
.file-input-label:hover {
    background-color: #2A2A57;
}
#file-name {
    margin-top: 0.5rem;
    font-style: italic;
    font-size: 0.875rem;
    color: #a8b2d1;
}
