﻿/* ===========================
   Register Page (Beamy)
   File: /Styles/register/register.css
   =========================== */

/* Page background */
html, body {
    height: 100%;
}

body {
    margin: 0;
    font-family: 'Times New Roman', sans-serif;
    background: url("../../Images/registerBackground2.png");
    overflow-x: hidden;
}

/* Give room for your fixed navbar */
.PageBody {
    min-height: 100vh;
    padding-top: 185px;
    padding-bottom: 170px; /* was 150px */
}

/* Centering wrapper */
.register-page {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 40px 18px;
}

/* ===========================
   OUTER WRAP (more transparent)
   =========================== */
.register-shell {
    position: relative;
    width: min(920px, 96vw); /* was 720px */
    padding-top: 40px;
    padding-bottom: 40px;
    border-radius: 34px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 28px 90px rgba(0,0,0,0.14);
}

    .register-shell::before {
        content: "";
        position: absolute;
        inset: 10px;
        border-radius: 28px;
        background: radial-gradient( circle at 30% 25%, rgba(255,255,255,0.50) 0%, rgba(255,255,255,0.08) 38%, rgba(255,255,255,0.00) 70% );
        pointer-events: none;
        filter: blur(12px);
        opacity: 0.75;
    }

/* ===========================
   INNER GLASS CARD
   =========================== */
.register-card {
    position: relative;
    margin: 0 auto;
    width: min(780px, 92vw); /* was 620px */
    background: rgba(255, 255, 255, 0.66);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 22px 70px rgba(0,0,0,0.16);
    border-radius: 22px;
    padding: 34px 34px 26px; /* was 28px 26px 22px */
    /* ✅ Let the page scroll naturally (form feels longer) */
    max-height: none; /* was calc(...) */
    overflow: visible; /* was auto */
    overflow-x: hidden;
}

    /* Keep actual form content above haze but below overlays */
    .register-card > * {
        position: relative;
        z-index: 4;
    }

    /* ===========================
   CUSTOM SCROLLBAR (glass aesthetic)
   (kept for compatibility, even though card no longer scrolls)
   =========================== */

    /* Chrome / Edge / Safari */
    .register-card::-webkit-scrollbar {
        width: 8px;
    }

    .register-card::-webkit-scrollbar-track {
        background: transparent;
    }

    .register-card::-webkit-scrollbar-thumb {
        background: linear-gradient( 180deg, rgba(125,133,208,0.35), rgba(125,133,208,0.15) );
        border-radius: 10px;
        backdrop-filter: blur(6px);
    }

        .register-card::-webkit-scrollbar-thumb:hover {
            background: linear-gradient( 180deg, rgba(125,133,208,0.55), rgba(125,133,208,0.30) );
        }

/* Firefox */
.register-card {
    scrollbar-width: thin;
    scrollbar-color: rgba(125,133,208,0.45) transparent;
}

/* ===========================
   Typography
   =========================== */
.register-title {
    font-family: 'New Machiato', serif;
    font-size: 54px;
    margin: 60px 0 6px 0;
    letter-spacing: 0.06rem;
}

.register-subtitle {
    margin: 0 0 18px 0;
    opacity: 0.85;
    font-size: 14px;
}

/* Error box */
.register-error {
    background: rgba(176, 0, 32, 0.10);
    border: 1px solid rgba(176, 0, 32, 0.25);
    color: #7a0015;
    padding: 10px 12px;
    border-radius: 10px;
    margin-bottom: 12px;
    /* subtle glass feel */
    backdrop-filter: blur(6px);
}

/* Form layout */
.register-form {
    display: grid;
    gap: 12px;
}

/* Labels */
.register-label {
    font-size: 13px;
    opacity: 0.9;
    display: block;
    margin: 8px 0 6px; /* was margin-bottom only */
}

/* Inputs + dropdowns + textareas (match styling) */
.register-input,
.register-form select,
.register-form textarea {
    width: 100%;
    padding: 13px 14px; /* was 12px 14px for inputs */
    border-radius: 12px; /* was 10px for inputs */
    border: 1px solid rgba(0,0,0,0.14);
    background: rgba(255,255,255,0.86);
    font-size: 15px;
    outline: none;
    transition: box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

    .register-input::placeholder {
        color: rgba(0,0,0,0.45);
    }

    /* Focus glow */
    .register-input:focus,
    .register-form select:focus,
    .register-form textarea:focus {
        border-color: rgba(125, 133, 208, 0.75);
        box-shadow: 0 0 0 4px rgba(125, 133, 208, 0.18);
        background: rgba(255,255,255,0.95);
    }

/* Dropdown (select) styling */
.register-form select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    /* subtle chevron */
    background-image: linear-gradient(45deg, transparent 50%, rgba(0,0,0,0.55) 50%), linear-gradient(135deg, rgba(0,0,0,0.55) 50%, transparent 50%);
    background-position: calc(100% - 18px) calc(50% - 2px), calc(100% - 12px) calc(50% - 2px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 44px; /* room for chevron */
}

/* Button row */
.register-actions {
    margin-top: 6px;
    display: flex;
    justify-content: center;
}

.register-btn {
    width: 100%;
    border: 0;
    padding: 13px 16px;
    border-radius: 12px;
    cursor: pointer;
    color: white;
    font-size: 15px;
    letter-spacing: 0.06rem;
    background: linear-gradient(90deg, #7D85D0 0%, #9aa2e9 45%, #7D85D0 100%);
    box-shadow: 0 18px 40px rgba(125, 133, 208, 0.35);
    margin-top: 10px; /* added */
}

#industrySelect {
    max-height: 320px; /* ~10 options */
    overflow-y: auto;
}

/* Bottom link */
.register-footer {
    margin-top: 12px;
    font-size: 13px;
    opacity: 0.9;
}

    .register-footer a {
        color: #7D85D0;
        text-decoration: none;
        font-weight: 600;
    }

/* ===========================
   Mobile adjustments
   =========================== */
@media (max-width: 900px) {
    .PageBody {
        margin-top: -120px;
    }
    .register-card {
        margin-left: 20px;
        margin-right: 20px;
    }
}

/* ===========================
   Mobile adjustments
   =========================== */
@media (max-width: 600px) {
    .PageBody {
        margin-top: -70px;
    }

    .register-card {
        margin-left: 5px;
        margin-right: 10px;
    }
    .register-title {
        font-size: 40px;
        margin-top: 32px;
    }
}

/* ===========================
   Clipboard overlay (COMMENTED – preserved)
   =========================== */
/*
.clipboard-overlay {
    position: absolute;
    left: 50%;
    top: -290px;
    transform: translateX(-50%);
    width: min(780px, 98vw);
    z-index: 20;
    pointer-events: none;
    user-select: none;
}

.clipboard-overlay img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 18px 34px rgba(0,0,0,0.18));
}
*/

/* ===========================
   Flowers seam (COMMENTED – preserved)
   =========================== */
/*
.BeamyCoFooter {
    position: relative;
    z-index: 1;
    margin-top: 0 !important;
}

.flowers-bridge {
    position: relative;
    height: 0;
    width: 100%;
    z-index: 999;
    pointer-events: none;
}

.flowers-bridge-img {
    position: absolute;
    left: 50vw;
    transform: translateX(-50%);
    bottom: -400px;
    width: min(100vw, 1600px);
    height: auto;
    display: block;
    filter: drop-shadow(0 18px 34px rgba(0,0,0,0.18));
}
*/
/* Dropdown (select) styling */
.register-form select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    /* subtle chevron in Beamy-ish tones */
    background-image: linear-gradient(45deg, transparent 50%, rgba(43,47,82,0.55) 50%), linear-gradient(135deg, rgba(43,47,82,0.55) 50%, transparent 50%), linear-gradient(to right, rgba(125,133,208,0.14), rgba(255,255,255,0));
    background-position: calc(100% - 18px) calc(50% - 2px), calc(100% - 12px) calc(50% - 2px), 0 0;
    background-size: 6px 6px, 6px 6px, 100% 100%;
    background-repeat: no-repeat;
    padding-right: 44px; /* room for chevron */
}


    /* Make the SELECT's displayed value wrap instead of overflowing */
    .register-form select.register-input,
    .register-form select {
        white-space: normal; /* allow wrapping */
        line-height: 1.25;
        height: auto; /* let it grow */
        min-height: 52px; /* match your input height-ish */
        padding-top: 12px;
        padding-bottom: 12px;
    }

/* Mobile: give it more vertical room so long tier labels fit */
@media (max-width: 600px) {
    .register-form select.register-input {
        font-size: 12px;
        min-height: 68px; /* more room for 2 lines */
        padding-right: 46px; /* keep arrow space */
    }
}