﻿@font-face {
    font-family: 'effra';
    src: url('../content/fonts/effra/effra.ttf') format('truetype'), url('../content/fonts/effra/effra-bold.ttf') format('truetype');
}

@font-face {
    font-family: 'effra-bold';
    src: url('../content/fonts/effra/effra-bold.ttf') format('truetype');
}

@font-face {
    font-family: 'effra-medium';
    src: url('../content/fonts/effra/effra-medium.otf') format('opentype');
}

@font-face {
    font-family: 'bwgradual-bold';
    src: url('../content/fonts/effra/bwgradual-bold.otf') format('opentype');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    padding: 0px;
    background: white;

}

.container {
    position: relative;
    width: 100%;
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    font-family: "Effra", sans-serif;
    margin-top: 30px;
}

    .container header {
        font-size: 24px;
        text-align: center;
        text-transform: uppercase;
        font-weight: 900;
        letter-spacing: 0.1em;
        color: #F9A31A;
    }

    .container .input-box {
        width: 100%;
        margin-top: 20px;
    }

.input-box label {
    color: #333;
    font-size: 16px;
    font-weight: 500;
}

.container :where(.input-box input, .select-box) {
    position: relative;
    height: 50px;
    width: 100%;
    outline: none;
    font-size: 1rem;
    color: #707070;
    margin-top: 8px;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 0 15px;
}

.input-box input:focus {
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
}

.container .column {
    display: flex;
    column-gap: 15px;
}

.container .gender-box {
    width: 100%;
    margin-top: 20px;
}

.gender-box h3 {
    color: #333;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 8px;
}

.container :where(.gender-option, .gender) {
    display: flex;
    align-items: center;
    column-gap: 100px;
    flex-wrap: wrap;
}

.container .gender {
    column-gap: 5px;
}

.gender input {
    accent-color: #F9A31A;
}

.container :where(.gender input, .gender label) {
    cursor: pointer;
}

.gender label {
    color: red;
}

.address :where(input, .select-box) {
    margin-top: 15px;
}

.select-box select {
    height: 100%;
    width: 100%;
    outline: none;
    border: none;
    color: #707070;
    font-size: 1rem;
}

.select {
    height: 100%;
    width: 100%;
    outline: none;
    border: none;
    color: #707070;
    font-size: 1rem;
}

.submit {
    border-radius: 20px;
    border: 1px solid #F9A31A;
    background-color: #F9A31A;
    color: white;
    font-size: 16px;
    font-weight: bold;
    padding: 12px 45px;
    transition: all 0.2s ease;
    text-transform: uppercase;
    transition: transform 80ms ease-in;
}

    .submit:hover {
        cursor: pointer;
        border: 1px solid #E09217;
        background-color: #E09217;
    }



.upload {
    border-radius: 20px;
    border: 1px solid #808080;
    background-color: white;
    color: #808080;
    font-size: 16px;
    font-weight: bold;
    padding: 12px 45px;
    transition: all 0.2s ease;
    text-transform: uppercase;
    transition: transform 80ms ease-in;
    white-space: nowrap; /* Prevents text from wrapping to the next line */
    overflow: hidden; /* Hides text that overflows */
    text-overflow: ellipsis; /* Adds "..." at the end of the text to indicate truncation */

}
.uploadProfile {
    border-radius: 20px;
    border: 1px solid #808080;
    background-color: white;
    color: #808080;
    font-size: 16px;
    font-weight: bold;
    padding: 12px 12px;
    transition: all 0.2s ease;
    text-transform: uppercase;
    transition: transform 80ms ease-in;
    white-space: normal; /* Allow text to wrap */
    overflow: visible; /* Ensures wrapped text is visible */
    text-overflow: unset; /* Remove the "..." truncation */
    width: 250px; /* Fixed width for the button */
}

    .upload:hover {
        cursor: pointer;
        border: 1px solid #454545;
        color: #454545;
    }

.uploadProfile:hover {
    cursor: pointer;
    border: 1px solid #454545;
    color: #454545;
}

.deleteUpload {
    border-radius: 20px;
    border: 1px solid #cc0000;
    background-color: white;
    color: #cc0000;
    font-size: 16px;
    font-weight: bold;
    padding: 12px 45px;
    transition: all 0.2s ease;
    text-transform: uppercase;
    transition: transform 80ms ease-in;
    white-space: nowrap; /* Prevents text from wrapping to the next line */
    overflow: hidden; /* Hides text that overflows */
    text-overflow: ellipsis; /* Adds "..." at the end of the text to indicate truncation */
    width: 150px;
}

    .deleteUpload:hover {
        cursor: pointer;
        border: 1px solid #b20000;
        color: #b20000;
    }

.uploadFilled {
    border-radius: 20px;
    border: 1px solid #454545;
    background-color: white;
    color: #454545;
    font-size: 16px;
    font-weight: bold;
    padding: 12px 45px;
    transition: all 0.2s ease;
    text-transform: uppercase;
    transition: transform 80ms ease-in;
    white-space: nowrap; /* Prevents text from wrapping to the next line */
    overflow: hidden; /* Hides text that overflows */
    text-overflow: ellipsis; /* Adds "..." at the end of the text to indicate truncation */
    width: 150px;
}

    .uploadFilled:hover {
        cursor: pointer;
        border: 1px solid black;
        color: black;
    }

.text-divider {
    --text-divider-gap: 1rem;
    display: flex;
    align-items: center;
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: 0.1em;
    color: #F9A31A;
    padding-top: 50px;
    padding-bottom: 10px;
}

    .text-divider::before, .text-divider::after {
        content: '';
        height: 1px;
        background-color: silver;
        flex-grow: 1;
    }

    .text-divider::before {
        margin-right: var(--text-divider-gap);
    }

    .text-divider::after {
        margin-left: var(--text-divider-gap);
    }

input[type="checkbox"] {
    margin: 15px 20px 0 10px;
    accent-color: #F9A31A;
}

input[type="radio"] {
    margin: 20px 10px 0 10px;
    accent-color: #F9A31A;
}

input[type="file"] {
    border: 1px solid #ccc;
    display: inline-block;
    padding: 6px 12px;
    cursor: pointer;
}

.containerUpload {
    max-width: 450px;
    width: 100%;
    padding: 30px;
    background: #fff;
    border-radius: 20px;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.drag-area {
    height: 200px;
    border: 3px dashed #e0eafc;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin: 10px auto;
}

    .drag-area .icon {
        font-size: 50px;
        color: #F9A31A;
    }

    .drag-area .header {
        font-size: 20px;
        font-weight: 500;
        color: #34495e;
    }

    .drag-area .support {
        font-size: 12px;
        color: gray;
        margin: 10px 0 15px 0;
    }

    .drag-area .button {
        font-size: 20px;
        font-weight: 500;
        color: #F9A31A;
        cursor: pointer;
    }

    .drag-area.active {
        border: 2px solid #F9A31A;
    }

    .drag-area img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

a {
    text-decoration: none;
    color:white;
}
    a:hover {
        text-decoration: none;
        color: white;
    }

.slide-from-right {
    position: relative;
    transform: translateX(100%); /* Move it off-screen to the right */
    transition: transform 1s ease-in-out; /* Longer duration and smoother easing */
}

    /* When the page is in view */
    .slide-from-right.show {
        transform: translateX(0); /* Move to its normal position */
    }

.fade-left {
    position: relative;
    opacity: 1;
    transform: translateX(0);
    transition: transform 0.8s ease-in-out, opacity 0.8s ease-in-out;
}

    /* When fading out and sliding to the left */
    .fade-left.hide {
        opacity: 0;
        transform: translateX(-100%); /* Move it off-screen to the left */
    }


/*Responsive*/
@media screen and (max-width: 500px) {
    .container .column {
        flex-wrap: wrap;
    }

    .container :where(.gender-option, .gender) {
        row-gap: 50px;
    }
}
