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

body {
    font-family: 'Montserrat', sans-serif;
    color: white;
    background-color: #050000;
    min-height: 100vh;
}

.register-container {
    position: relative;
    width: 100vw;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    overflow-x: hidden;
}

/* Background tech/cyber effect */
.register-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* Dark background with a faint red abstract/tech overlay */
    background: radial-gradient(circle at center, rgba(30, 0, 0, 0.6) 0%, rgba(5, 0, 0, 1) 100%),
                url('https://images.unsplash.com/photo-1526374965328-7f61d4dc18c5?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    z-index: -1;
}

/* Add some red glow patches like the image */
.register-bg::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80vw;
    height: 80vh;
    background: radial-gradient(ellipse at center, rgba(250, 86, 85, 0.1) 0%, transparent 60%);
}

.back-btn {
    position: absolute;
    top: 30px;
    left: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid rgba(250, 86, 85, 0.3);
    background-color: rgba(10, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.back-btn:hover {
    background-color: rgba(250, 86, 85, 0.1);
    box-shadow: 0 0 10px rgba(250, 86, 85, 0.5);
}

.logo {
    position: absolute;
    top: 35px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5rem;
    font-weight: 900;
    font-style: italic;
    color: #FA5655;
    letter-spacing: 2px;
    text-shadow: 0 0 15px rgba(250, 86, 85, 0.6);
}

.register-card {
    background-color: #0b0b0b;
    width: 100%;
    max-width: 450px;
    padding: 40px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.8), 0 0 10px rgba(250, 86, 85, 0.1);
    border: 1px solid rgba(250, 86, 85, 0.1);
    z-index: 2;
}

.card-header {
    margin-bottom: 30px;
}

.card-header h2 {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.underline {
    width: 30px;
    height: 3px;
    background-color: #FA5655;
    box-shadow: 0 0 8px #FA5655;
}

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

.form-group label {
    display: block;
    font-size: 0.7rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: #fff;
    letter-spacing: 1px;
}

.form-group input {
    width: 100%;
    background-color: #151515;
    border: 1px solid #222;
    padding: 14px 15px;
    color: #fff;
    font-size: 0.9rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #FA5655;
    background-color: #111;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.toggle-password {
    position: absolute;
    right: 15px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.form-options {
    margin-bottom: 25px;
}

.terms-checkbox {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    position: relative;
    padding-left: 28px;
    font-size: 0.75rem;
    color: #aaa;
    line-height: 1.4;
}

.terms-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 16px;
    width: 16px;
    background-color: #fff;
    border-radius: 2px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid #000;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.terms-checkbox input:checked ~ .checkmark:after {
    display: block;
}

.red-text {
    color: #FA5655;
    text-decoration: none;
    font-weight: 700;
}

.red-text:hover {
    text-decoration: underline;
}

.recaptcha-container {
    margin-bottom: 25px;
}

.recaptcha-box {
    background-color: #1c1c1c;
    border: 1px solid #333;
    border-radius: 4px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.recaptcha-checkbox {
    width: 24px;
    height: 24px;
    background-color: #fff;
    border: 2px solid #c1c1c1;
    border-radius: 2px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.recaptcha-checkbox.checked {
    border-color: #4caf50;
}

.recaptcha-text {
    font-size: 0.85rem;
    color: #fff;
    flex: 1;
    margin-left: 15px;
}

.recaptcha-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.recaptcha-logo-text {
    font-size: 0.5rem;
    color: #999;
    margin-top: 2px;
}

.submit-btn {
    width: 100%;
    background-color: #FA5655;
    color: white;
    border: none;
    padding: 15px;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 1px;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #ff3b3a;
}

.error-msg {
    background-color: rgba(250, 86, 85, 0.1);
    color: #FA5655;
    padding: 10px;
    border-left: 3px solid #FA5655;
    font-size: 0.8rem;
    margin-bottom: 20px;
    display: none;
}

/* Edge Drawer (from image left side) */
.edge-drawer {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 50px;
    background-color: #FA5655;
    box-shadow: 0 0 10px #FA5655;
}

/* Modal Styling */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background-color: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: #0b0b0b;
    border: 1px solid rgba(250, 86, 85, 0.4);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.9), 0 0 15px rgba(250, 86, 85, 0.15);
    width: 95%;
    max-width: 450px;
    padding: 20px;
    position: relative;
    max-height: 75vh;
    overflow-y: auto;
}

/* Custom Scrollbar for Modal */
.modal-content::-webkit-scrollbar {
    width: 6px;
}
.modal-content::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.5);
    border-radius: 4px;
}
.modal-content::-webkit-scrollbar-thumb {
    background: rgba(250, 86, 85, 0.5);
    border-radius: 4px;
}
.modal-content::-webkit-scrollbar-thumb:hover {
    background: rgba(250, 86, 85, 0.8);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.modal-header h2 {
    color: #FA5655;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(250, 86, 85, 0.4);
}

.close-modal {
    background: none;
    border: none;
    color: #aaa;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: #FA5655;
}

.modal-body {
    color: #ccc;
    font-size: 0.65rem;
    line-height: 1.3;
    margin-bottom: 10px;
}

.modal-body h3 {
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    margin-top: 10px;
    margin-bottom: 4px;
}

.modal-body p {
    margin-bottom: 10px;
}

.modal-body ul {
    margin-left: 20px;
    margin-bottom: 10px;
}

.modal-body li {
    margin-bottom: 5px;
}

.modal-body strong {
    color: #fff;
}

.modal-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.accept-modal-btn {
    width: 100%;
    background-color: #FA5655;
    color: #000;
    border: none;
    padding: 10px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1px;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.accept-modal-btn:hover {
    background-color: #ff6b6a;
    box-shadow: 0 0 15px rgba(250, 86, 85, 0.5);
}

/* HIDE GOOGLE TRANSLATE BANNER */
.goog-te-banner-frame.skiptranslate,
.goog-te-banner-frame,
.goog-te-banner,
#goog-gt-tt,
.goog-te-balloon-frame,
iframe.goog-te-banner-frame,
iframe[id*="translate"],
.goog-tooltip,
.goog-tooltip:hover {
    display: none !important;
}
body {
    top: 0 !important;
    position: static !important;
}
html {
    margin-top: 0 !important;
}
.goog-text-highlight {
    background-color: transparent !important;
    box-shadow: none !important;
}
