/* .wkas-body {
	font-size: 1.25em;
	font-weight: normal;
	color: #28303d;
	text-align: left;
	background-color: #d1e4dd;
    max-width: none;
    padding: 0;
    margin: 0;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
} */
*,
*::before,
*::after {
	box-sizing: inherit;
}

.wkas-content-wrapper {
    position: relative;
    max-width: 95%;
    margin: 20px auto;
    border: 1px solid #f1f1f1;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

h2.user_head {
    text-align: center;
    margin: 20px auto;
    font-weight: 500;
    font-family: 'Poppins', 'sans-serif', 'Inter', 'Roboto';
}

.wkas-front-header {
    background-color: #fff;
    padding: 10px 0;
    border-radius: 8px 8px 0px 0px;
    text-align: left;
    font-family: 'Poppins', 'sans-serif', 'Inter', 'Roboto';
    border-bottom: 2px solid #f1f1f1;
}

.user-actions {
    display: flex;
    gap: 10px;
    position: relative;
}

.wkas-header-content {
    font-family: 'Poppins', 'sans-serif', 'Inter', 'Roboto';
    display: flex;
    justify-content: space-between;
    padding-left: 20px;
    padding-right: 20px;
    align-items: center;
    margin: 0 44px;
    max-width: 100%;
}

.user-actions {
    display: flex;
    gap: 20px;
}
.wkas-logo-title-group {
    display: flex;
    align-items: center;
    gap: 10px;  /* Adjust the gap if needed between the logo and the title */
}


.wkas-logo {
    width: 32px;
    height: 32px;
}

.wkas-logo img {
    width: 100%;
    height: 100%;
    border: 1px solid #333;
    border-radius: 50%;
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
}

.wkas-logo .dashicons{
    font-size: 32px;
}

.wkas-event-title {
    margin: 0 5px;
    font-size: 18px;
    color: #333;
    font-weight: 400;
}

/* Custom Footer Styles */
.wkas-front-footer {
    background-color: #fff;
    color: #222;
    padding: 3px 20px;
    width: 100%;
    font-size: small;
    border-radius: 0px 0px 8px 8px;
    margin-top: 30px;
    border-top: 1px solid #f1f1f1;
    box-sizing: border-box;
}

.wkas-footer-content {
    max-width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #6d6d6d;
}

.wkas-footer-content div {
    display: flex;
    gap: 10px;
}

body {
    /* background-image: url('https://images.pexels.com/photos/761543/pexels-photo-761543.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1'); */
    /* background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed; */
    font-family: 'Arial', sans-serif; /* You can change this to your preferred font */
    height: 100%;
    margin: 0;
    padding: 0;
    /* overflow: hidden; To prevent scrolling */
}

/* Common styles for forms */
.wkas-content-container form {
    background-color: rgba(255, 255, 255, 0.9); /* Adding a bit transparency to the form background */
    width: 100%;
    max-width: 450px;
    margin: auto;
}

.wkas-content-container form input[type="text"],
.wkas-content-container form input[type="password"],
.wkas-content-container form input[type="email"],
.wkas-content-container form textarea,
.wkas-content-container form select {
    width: 100%;
    padding: 10px;
    margin: 5px 0 10px 0;
    /* margin-bottom: 10px; */
    border: 1px solid #ccc;
    border-radius: 4px;
    line-height: 1.7;
    /* margin: 0 2px; */
    max-width: 100%;
    /* margin: 3px 0; */
}

.wkas-content-container form button,
.wkas-content-container form input[type="submit"] {
    background-color: #000;
    color: white;
    margin-top: 10px;
    padding: 4px 15px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.wkas-content-container form button:hover,
.wkas-content-container form input[type="submit"]:hover {
    background-color: #005177;
}

.wkas-content-container form a:hover {
    text-decoration: underline;
}

/* Additional styles for the dashboard if necessary */
.wkas-content-container .dashboard-content {
    /* Add any specific dashboard styles here */
}


.login-form-wrapper {
    margin: 0px 3%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.login-form-wrapper .welcome-dash {
    max-width: 55%;
    margin: 20px 0px;
}

.login-form-wrapper .welcome-dash .welcome-content {
    /* max-width: 70%; */
}

.login-form-wrapper .welcome-dash h1 {
    font-weight: 600;
    font-size: 64px;
    word-wrap: break-word;
    line-height: 1;
}
.wkas-applicant-login-container,
.wkas-judge-login-container {
        max-width: 25%;
    width: 100%;
    margin-top: -160px;
    border: 1px solid #f1f1f1;
    padding: 20px;
    z-index: 9999;
    background: #fff;
    border-radius: 8px;
    /* box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px; */
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
    box-sizing: border-box;
}

h2.login-heading {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.from-banner {
    max-width: 100%;
    max-height: 400px;
}

.from-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-height: 400px;
    border-radius: 0px;
}


.wkas-form-group {
    margin-bottom: 5px;
}

.wkas-form-group label {
    display: block;
    margin-bottom: 5px;
}

.wkas-form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
}

.wkas-form-links {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.wkas-form-links p {
    margin: 5px 0px;
}

.wkas-form-links a {
    text-decoration: underline;
    color: #000;
    font-weight: 600;
}

.wkas-form-links a:hover {
    text-decoration: none;
}


@media screen and (max-width: 480px) {
  .login-form-wrapper{
    flex-direction: column-reverse;
    gap: 20px;
  }

  .wkas-judge-login-container {
    max-width: 85%;
  }

  .login-form-wrapper .welcome-dash{
    max-width: 85%;
    margin: auto;
  }

  .login-form-wrapper .welcome-dash h1 {
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 50px;
    word-wrap: break-word;
}

  .login-form-wrapper .welcome-dash .welcome-content {
    max-width: 85%;
   }

   .wkas-footer-content {
    flex-direction: column;
   }
}

.user-profile {
	position: relative;
	cursor: pointer;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 2;
    display: none;
    min-width: 160px;
    margin: 2px 0 0;
    padding: 5px 0;
    font-size: 14px;
    text-align: left;
    list-style: none;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 100%;
    /* width: 100%; */
}
.user-action-dropdown{
    display: flex;
    justify-content: space-between;
    padding: 0px 11px;
}

.user-profile:hover .user-dropdown {
	display: block;
}

.profile-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    z-index: 9999;
}

.profile-modal-content {
    width: 35%;
    min-width: 500px;
    background-color: #fff;
    margin: 20px auto;
    border-radius: 5px;
    padding: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.5);
    max-height: calc(100vh - 152px);
    overflow: auto;
}

.profile-modal-header, .profile-modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
}

.profile-modal-body {
    padding: 8px;
}

.profile-details {
    display: flex;
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
}

.profile-details div {
    margin-right: 30px; /* Adjust as per requirement */
}


.wkas-close-modal {
    cursor: pointer;
}

.user-image ,
.user-edit-image{
    width: 144px;
    height: 133px;
    border-radius: 10%;
    margin-right: 15px;
}


.user-info {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    margin-top: 10px;
}
.modal-section-separator {
    width: 100%;
    height: 1px;
    background-color: #ddd;
}

.profile-heading{
    color: gray;
}

.user-edit-form {
    display: none;  /* Initially hide the edit form */
}

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

.two-fields{
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="file"] {
    width: 100%;
    padding: 5px;
    box-sizing: border-box;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.update-button {
    display: none; /* Initially hide the Update button */
}

table,
.wp-block-table {
	width: 100%;
	min-width: 240px;
	border-collapse: collapse;
}

hr{
    border-style: none;
    border-bottom: 1px solid #ededed;
    clear: both;
    margin-left: auto;
    margin-right: auto;
}

.wkas-button{
    background-color: gold;
    color: white;
    margin-top: 10px;
    padding: 4px 15px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s;
}


.wkas-input-submit{
    background-color: #000;
    color: white;
    margin-top: 10px;
    padding: 4px 15px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.wkas-input-submit{
    background-color: #005177;
}

.wkas-edit-button,.close-modal-button,.wkas-update-button {
	background-color: #28303d;
	color: #d1e4dd;
}

button.wkas-close-modal:hover,
.wkas-update-button:hover,
.wkas-edit-button:hover {
	background-color: #0b0b18;
	color: #ffffff;
}


h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif !important;
	font-weight: normal;
}

html,
body,
p,
ol,
ul,
li,
dl,
dt,
dd,
blockquote,
figure,
fieldset,
form,
legend,
textarea,
pre,
iframe,
hr,
h1,
h2,
h3,
h4,
h5,
h6 {
	padding: 0;
	margin: 0;
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
}


#wkas-registration-toast {
    position: fixed;
    /* bottom: 20px; */
    top: 20px;
    left: 50%;
    text-align: center;
    animation-duration: 150ms;
    transform: translateX(-50%);
    margin: .5em 0;
    padding: .75em 1.5em;
    background-color: #3ec487;
    color: #fff;
    border-radius: 5px;
    opacity: .92;
   box-shadow: 0 1px 4px rgba(0,0,0,.12),0 0 6px rgba(0,0,0,.04);
    display: none;
    z-index: 999;
}

.wkas-toast-message.success {
    background-color: #3ec487;
}

.wkas-toast-message.show {
    display: block !important;
}

.error-container {
    color: #ff0000;
    font-size: 12px;
    margin-top: 5px;
}

.wkas-form-group.error {
    border: 1px solid #ff0000;
    background-color: #ffeded;
}

.wkas-content-container form {
    background-color: rgba(255, 255, 255, 1); /* Set full opacity for the form background */
}

#invalid_key_error {
    color: #ff0000;
    font-size: 14px;
    margin-top: 10px;
}

.invalid_key_error{
     color: #ff0000;
    font-size: 12px;
    margin-top: 5px;
}

.user_email_error{
      color: #ff0000;
    font-size: 12px;
    margin-top: 5px;
}


.wkas-toast-container {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 400px;
  box-sizing: border-box;
  padding: 15px;
  text-align: center;
  z-index: 1000;
}

.wkas-toast {
  display: inline-block;
  width: 100%;
  padding: 15px;
  border-radius: 5px;
  font-family: Arial, sans-serif;
  cursor: pointer;
  margin-bottom: 10px;
}

.wkas-toast-success {
  background-color: #48c78e;
  border-color: transparent;
  color: #fff;
}

.wkas-toast-error {
  background-color: #dc3545;
  color: #fff;
}

.wkas-toast-warning {
  color: rgba(0,0,0,.7);
  background: #ffe08a;
}

.wkas-toast-info {
  background-color: #485fc7;
  border-color: transparent;
  color: #fff;
}

.other-events-icon:hover +  .other-events-dropdown {
    display: block;
}
.other-events-dropdown:hover {
    display: block;
}

/*CSS for the event list dropdown */
.other-events-dropdown {
    position: absolute;
    top: 98%;
    right: 0;
    z-index: 2;
    display: none;
    min-width: 160px;
    max-height: 350px;
    overflow-y: auto;
    margin: 2px 0 0;
    padding: 5px 0;
    font-size: 14px;
    text-align: left;
    list-style: none;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.other-events-dropdown li {
    padding: 8px;
    cursor: pointer;
}

.other-events-dropdown li:hover {
    background-color: #f5f5f5;
}

/* Show the dropdown on hover */
.otherOptionsIcon:hover + .other-events-dropdown {
    display: block;
}

