:root {
    --bg-color: white; 
    --shadow: -1px 2px 4px #00000073;
    --login-bg-color: #c4ffc088;
    --h1-text-color: #087c4b;
}
[data-theme="dark"] {
    --bg-color: #182931;
    --shadow: -1px 2px 4px #00000073;
    --login-bg-color: rgba(81, 107, 133, 0.39);
    --h1-text-color: aliceblue;
}

body{
    font-family: Kanit, sans-serif;
    background-image: url('../assets/clovers-01.webp');
    background-attachment: fixed;
    background-position: top;
    background-color: var(--bg-color);
    transition: background-color 0.3s ease, color 0.3s ease;
}
h1 {
    margin-top: 7vh;
    text-align: center;
    font-family: Manrope, sans-serif;
    color: var(--h1-text-color);
    padding: 10px 0;
}
a{
    text-decoration: none;
}
dl, ol, ul {
    margin-bottom: 0 !important;
}

.errors {
    background-color: #f8d7da;
    color: #842029;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
}
.errors li{
    max-width: 90%;
    width: max-content;
    margin: auto;
    text-align: center;
}
.modal-content{
    font-weight: 300;
    background-color: #ffffff;
    color: #007b41;
    padding: 10px 9px;
}
.successRgstr{
    padding: 10px 20px;
}
.modal-header{
    padding: 7px 7px 0 7px;
    border: none;
}
.text-center{
    padding: 0 10px 7px 10px;
}
.success {
    background-color: #d1e7dd;
    color: #0f5132;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    text-align: center;
}
.success li{
    max-width: 90%;
    width: max-content;
    margin: auto;
    text-align: center;
}

.login {
    display: flex;
    flex-direction: column;
    width: 85vmin;
    max-width: 500px;
    padding: 25px;
    background-color: var(--login-bg-color);
    margin: 1vh auto 2vh auto;
    border-radius: 40px 10px 30px 10px;
    font-family: Manrope, sans-serif;
    align-items: center;
}

.loginput {
    border-radius: 20px;
    padding: 0 10px;
    border: solid 2px #0BA562;
    width: 90%;
    margin: 5px 0;
    font-size: 18px;
    transition: 0.5s;
}

.loginput::placeholder {
    color: #b6b6b6;
}

.loginput:focus {
    outline: none;
    font-size: 18px;
    border: solid 2px #0BA562;
    border-top-color: #087c4b;
    border-left-color: #087c4b;
    background-color: #fff4d9;
    transition: 0.5s;
}

.subtn {
    margin: 10px auto 2px auto;
    width: max-content;
    padding: 3px 20px;
    border-radius: 5px;
    border: none;
    background-color: #4a898b;
    box-shadow: -1px 2px 1px #2d585a;
    color: aliceblue;
}

.passFgt{
    background-color: slategray;
    color: white;
    border-radius: 15px;
    width: max-content;
    padding: 1px 20px;
    font-size: 13px;
    margin: 0 auto 3vh auto;
}

.noacc {
    border-radius: 12px;
    border: outset 4px #0BA562;
    border-bottom-color: #21bb7a;
    border-right-color: #21bb7a;
    margin: auto;
    display: flex;
    width: 85%;
    text-align: center;
    justify-content: center;
    background-color: rgba(11, 165, 98, 0.84);
    padding: 10px;
    font-size: 19px;
    color: #e7ffc2 !important;
    box-shadow: var(--shadow);
    align-items: center;
    font-family: Manrope, sans-serif;
    overflow: hidden;
    height: 12vh;
    line-height: 1.2;
    max-width: 500px;
}

.subicon {
    height: 112px;
    filter: none;
}

.msg {
    display: flex;
    text-align: center;
    margin: 20px auto 10px auto;
    width: 85vmin;
    max-width: 500px;
    background-color: rgba(199, 236, 167, 0.50);
    padding: 15px;
    border-radius: 15px;
    color: #087c4b;
    font-weight: 500;
    justify-content: center;
}

.role {
    display: flex;
    flex-direction: column;
    width: 85vmin;
    max-width: 500px;
    text-align: center;
    align-items: center;
    margin: 25px auto;
    border-radius: 15px;
    padding: 5px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position-y: 20px;
    box-shadow: -3px 2px 4px #7c7c7c;
    height: 15vmax;
    max-height: 145px;
}

.role.p {
    background-image: url(../assets/participante1.svg);
    align-items: start;
    background-color: rgba(221, 140, 18, 0.4);
    border: 4px outset #fdae13;
    background-position-x: right
}

.role.o {
    background-image: url(../assets/organizador1.svg);
    align-items: end;
    background-color: rgba(42, 152, 165, 0.4);
    border: 4px outset #2a98a5;
    background-position-x: left;
}

.rolettl {
    font-weight: bold;
    align-self: center;
    color: white;
    padding: 0 10px;
    border-radius: 15px
}
.rolettl.p{
    background-color: #fdae13;
}
.rolettl.o{
    background-color: #2a98a5;
}

.roledsc {
    width: 50%;
    position: relative;
    text-align: center;
    padding: 5px 10px;
    border-radius: 7px;
    margin: 10px 0;
    font-weight: 500;
    line-height: 1.2;
    filter: drop-shadow(-1px 4px 3px rgba(0, 0, 0, 0.45));
    font-size: 14px;
}

.roledsc.p {
    left: 4%;
}

.roledsc.o {
    right: 4%;
}
.swal2-title{
    font-size: 22px;
}
.swal2-actions{
    display: flex;
    width: 100%;
    justify-content: space-around;
}
.swal2-styled{
    border-radius: 8px;
    box-shadow: -1px 2px 3px lightgray;
    font-weight: 400;
}
.swal2-confirm{
    background-color: rgb(0 171 106);
}
.swal2-cancel{
    background-color: rgb(241 186 68);
}
.whatsapp{
    overflow: hidden;
    position: relative;
    background-size: 64px;
    background-repeat: no-repeat;
    background-position-x: 100%;
    font-size: 16px;
    background-color: #2fad00;
    border-radius: 8px;
    padding: 3px 55px 3px 10px;
    display: flex;
    margin: 40px auto;
    width: 77vw;
    max-width: 400px;
    box-shadow: -3px 3px 0 #318307, -3px 3px 4px gray;
    color: #ffffff;
}
.ayudaMsg{
    text-align: center;
    width: 95%;
    line-height: 1.2;
}
.btn.btn-secondary.ap {
    display: block;
    margin: 10px auto;
    padding: 0 20px;
    line-height: 1;
    font-weight: 200;
    font-size: 12px;
}

.modal-body.ap {
    font-size: 12px;
    text-align: justify;
    color: black;
    font-weight: 300;
}
.theme-switch-wrapper {
    display: flex;
    align-items: center;
    margin-left: 15px;
    z-index: 1000;
}

.theme-switch {
    display: inline-block;
    height: 24px;
    position: relative;
    width: 48px;
}

.theme-switch input {
    display: none;
}

.slider {
    background-color: #ccc;
    bottom: 0;
    cursor: pointer;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    background-color: white;
    bottom: 4px;
    content: "";
    height: 16px;
    left: 4px;
    position: absolute;
    transition: .4s;
    width: 16px;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #66bb6a;
}

input:checked + .slider:before {
    transform: translateX(24px);
}

.slider-icon {
    color: #f0c420;
    margin-right: 5px;
    font-size: 18px;
}