@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;600&display=swap');

:root{
    --extraLarge: 30px;
    --large:  20px;
    --medium: 16px;
    --small:  12px;

    --extraLight:  200;
    --light:       300;
    --semibold:    600;

    --softlines: #cccccc9e;

    --white:  #EEEDED;
    --brownBlack: #5a382b;
    --brownLight: #7d5a34;

    --battleship-gray: #938B84ff;
    --poppy: #E41434ff;
    --dark-moss-green: #315B1Eff;
    --cinereous: #A0958Cff;
    --gamboge: #EA9F3Cff;

}
h1, h2, h3, p{
    margin: 0;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}
select{
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 3px;
    width: 100%;
}
select option:hover{
    background-color: #f0f0f0;
    color: #333;
}
.container-register{
    width: 100vw;
    min-height: 100vh;
    display: flex;
    background-image: url('../background/_header-tianguis-genetica.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
}
.register-form{
    width:  50%;
    max-width: 400px;
    margin: auto;
    padding: 2rem;
    border-radius: 4px;
    background-color: white;
    background-image: url('../Iconos/vacaroja.png');
    background-size: 200px 200px;
    background-repeat: no-repeat;
    background-position: right bottom;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.register-form img{
    height: 100px;
    width: 100px;
    object-fit: cover;
    border-radius: 50px;
    display: block;
    margin: 0 auto;
    margin-top: -50;
    cursor: pointer;
}
.main-text{
    font-size: var(--large);
    font-weight: var(--light);
    text-align: center;
    margin-top: 1rem;
    line-height: 1;
}
.secondary-text{
    font-size: var(--small);
    text-align: center;
    margin: 1rem 4rem;
    line-height: 1;
}
.register-form hr{
    background-color: var(--softlines);
    height: 1px;
    border: none;
}
.sign-up-form{
    padding: 0 2rem;
}
.form-group{
    margin-bottom: 8px;
}
label{
    display: block;
    font-weight: var(--light);
    font-size: var(--medium);
    margin-bottom: 0px;
}
input{
    width: 100%;
    padding: 8px;
    border: none;
    border-bottom: 1px solid #CCC;
    outline: none;
}
input::placeholder{
    color: #ccc;
}
.mainButton{
    margin: 0 auto;
    width: 100%;
    height: 30px;
    border-radius: 15px;
    font-size: 12px;
    background-color: black;
    color: white;
    border: 0;
    margin-top: 1rem;
}
.checkbox-privacidad{
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}
.checkbox-privacidad input{
    width: 20%;
}
.checkbox-privacidad label{
    font-size: var(--small);
}
.privacy-policy-link {
    color: blue;
    text-decoration: underline;
    margin-left: 5px;
}
.custom-dropdown {
    position: relative;
    width: 100%;
    font-family: inherit;
}

.dropdown-toggle {
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 3px;
    width: 100%;
    background-color: #fff;
    cursor: pointer;
    color: #333;
    font-size: var(--medium);
    font-weight: var(--light);
}

.dropdown-menu {
    display: none;
    position: absolute;
    width: 100%;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 3px;
    margin-top: 2px;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 5px 0;
}

.dropdown-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    font-size: var(--medium);
    font-weight: var(--light);
    cursor: pointer;
}

.dropdown-option:hover {
    background-color: #f0f0f0;
    color: #333;
}
.dropdown-option label{
    width: 90%;
}
.dropdown-option input[type="checkbox"] {
    width: 10%;
    margin: 0;
    transform: scale(1.1);
    cursor: pointer;
}

.custom-file-upload {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.file-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.file-btn {
    /* Usa los estilos de .mainButton ya definidos */
    height: 30px;
    border-radius: 15px;
    font-size: 12px;
    background-color: black;
    color: white;
    border: none;
    padding: 0 20px;
    cursor: pointer;
}

.file-name {
    font-size: var(--small);
    color: #666;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.image-carousel {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-top: 1.5rem;
}

.carousel-images {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-images img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    border-radius: 12px;
}

.carousel-images img.active {
    opacity: 1;
    z-index: 1;
}

.carousel-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.carousel-dots .dot {
    width: 10px;
    height: 10px;
    background-color: rgba(10, 10, 10, 0.6);
    border-radius: 50%;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.carousel-dots .dot.active {
    background-color: rgb(249, 0, 0);
}

@media screen and (max-width: 767px) {
    .register-form{
        width: 90%;
    }
}
