 .korolev-modal-backdrop {
   background-color: rgba(0, 0, 0, 0.5);
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   display: flex;
   justify-content: center;
   align-items: center;
   z-index: 1000;
   display: none;
 }

 .korolev-resume-modal {
   background: linear-gradient(135deg, #3d4d5c 0%, #2c3e50 100%);
   width: 90%;
   max-width: 800px;
   border-radius: 8px;
   position: relative;
   overflow: hidden;
 }

 .korolev-resume-modal::before {
   content: '';
   position: absolute;
   top: -50%;
   right: -10%;
   width: 400px;
   height: 400px;
   background: rgba(255, 255, 255, 0.03);
   transform: rotate(45deg);
 }

 .korolev-resume-modal::after {
   content: '';
   position: absolute;
   bottom: -30%;
   left: -5%;
   width: 300px;
   height: 300px;
   background: rgba(0, 0, 0, 0.1);
   transform: rotate(45deg);
 }

 .korolev-modal-inner-content {
   padding: 60px;
   position: relative;
   z-index: 1;
 }

 .korolev-close-button {
   position: absolute;
   top: 25px;
   right: 25px;
   background: none;
   border: none;
   color: white;
   font-size: 32px;
   cursor: pointer;
   line-height: 1;
   opacity: 0.8;
   transition: opacity 0.3s;
   z-index: 3;
 }

 .korolev-close-button:hover {
   opacity: 1;
 }

 .korolev-main-heading {
   color: white;
   font-size: 42px;
   font-weight: 300;
   margin-bottom: 15px;
   letter-spacing: 1px;
 }

 .korolev-subtitle-text {
   color: white;
   font-size: 16px;
   margin-bottom: 60px;
   opacity: 0.9;
   letter-spacing: 0.5px;
 }

 .korolev-email-wrapper {
   margin-bottom: 20px;
 }

 .korolev-email-link {
   color: #ff8c42;
   font-size: 36px;
   font-weight: 400;
   letter-spacing: 0.5px;
   text-decoration: none;
   display: inline-block;
   border-bottom: 2px solid #ff8c42;
   padding-bottom: 5px;
 }

 .korolev-privacy-disclaimer {
   color: white;
   font-size: 12px;
   opacity: 0.7;
   margin-top: 15px;
 }

 .korolev-privacy-disclaimer a {
   color: white;
   text-decoration: underline;
 }

 @media (max-width: 440px) {
   .korolev-modal-backdrop {
     align-items: flex-start;
     padding: 20px;
   }

   .korolev-resume-modal {
     width: 95%;
     max-width: 420px;
     border-radius: 6px;
   }

   .korolev-resume-modal::before,
   .korolev-resume-modal::after {
     display: none;
   }

   .korolev-modal-inner-content {
     padding: 20px;
   }

   .korolev-close-button {
     top: 12px;
     right: 12px;
     font-size: 26px;
   }

   .korolev-main-heading {
     font-size: 28px;
     margin-bottom: 10px;
   }

   .korolev-subtitle-text {
     font-size: 14px;
     margin-bottom: 20px;
   }

   .korolev-email-wrapper {
     margin-bottom: 12px;
   }

   .korolev-email-link {
     font-size: 20px;
     padding-bottom: 3px;
     border-bottom-width: 1px;
   }

   .korolev-privacy-disclaimer {
     font-size: 11px;
     margin-top: 10px;
   }
 }

 /* <!-- vx-modal --> */

 .vx-overlay {
   background-color: rgba(0, 0, 0, 0.5);
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   display: flex;
   justify-content: center;
   align-items: center;
   z-index: 1000;
   padding: 15px;
   display: none;
 }

 .vx-modal {
   background: linear-gradient(135deg, #3d4d5c 0%, #2c3e50 100%);
   width: 100%;
   max-width: 800px;
   border-radius: 8px;
   position: relative;
   overflow: hidden;
   max-height: 95vh;
 }

 .vx-modal::before {
   content: '';
   position: absolute;
   top: -50%;
   right: -10%;
   width: 400px;
   height: 400px;
   background: rgba(255, 255, 255, 0.03);
   transform: rotate(45deg);
 }

 .vx-modal::after {
   content: '';
   position: absolute;
   bottom: -30%;
   left: -5%;
   width: 300px;
   height: 300px;
   background: rgba(0, 0, 0, 0.1);
   transform: rotate(45deg);
 }

 .vx-content {
   padding: 50px 40px;
   position: relative;
   z-index: 1;
 }

 .vx-close {
   position: absolute;
   top: 15px;
   right: 15px;
   background: none;
   border: none;
   color: white;
   font-size: 36px;
   cursor: pointer;
   line-height: 1;
   opacity: 0.8;
   transition: opacity 0.3s;
   padding: 10px;
   z-index: 10;
 }

 .vx-close:hover {
   opacity: 1;
 }

 .vx-title {
   color: white;
   font-size: 36px;
   font-weight: 400;
   margin-bottom: 12px;
   letter-spacing: 1px;
   line-height: 1.2;
 }

 .vx-subtitle {
   color: white;
   font-size: 15px;
   margin-bottom: 35px;
   opacity: 0.9;
   letter-spacing: 0.5px;
 }

 .vx-form {
   display: block;
 }

 .vx-row {
   display: flex;
   flex-direction: column;
   gap: 25px;
   margin-bottom: 25px;
 }

 .vx-field {
   width: 100%;
 }

 .vx-label {
   color: white;
   font-size: 14px;
   margin-bottom: 10px;
   display: block;
   opacity: 0.9;
 }

 .vx-input {
   width: 100%;
   background: transparent;
   border: none;
   border-bottom: 1px solid rgba(255, 255, 255, 0.3);
   color: white;
   font-size: 16px;
   padding: 12px 0;
   outline: none;
   transition: border-color 0.3s;
 }

 .vx-input:focus {
   border-bottom-color: rgba(255, 255, 255, 0.6);
 }

 .vx-input::placeholder {
   color: rgba(255, 255, 255, 0.3);
 }

 .vx-checkbox-wrap {
   display: flex;
   align-items: flex-start;
   margin-bottom: 30px;
   gap: 10px;
 }

 .vx-checkbox {
   margin-top: 3px;
   cursor: pointer;
   min-width: 16px;
   min-height: 16px;
 }

 .vx-checkbox-label {
   color: white;
   font-size: 13px;
   opacity: 0.8;
   line-height: 1.5;
 }

 .vx-checkbox-label a {
   color: white;
   text-decoration: underline;
 }

 .vx-button {
   background-color: #ff6b00;
   color: white;
   border: none;
   padding: 16px 60px;
   font-size: 16px;
   font-weight: 500;
   border-radius: 4px;
   cursor: pointer;
   transition: background-color 0.3s;
   text-transform: uppercase;
   letter-spacing: 1px;
   width: 100%;
   max-width: 300px;
 }

 .vx-button:hover {
   background-color: #e55f00;
 }

 @media (max-width: 768px) {
   .vx-content {
     padding: 40px 25px;
   }

   .vx-title {
     font-size: 28px;
   }

   .vx-subtitle {
     font-size: 14px;
     margin-bottom: 30px;
   }

   .vx-close {
     font-size: 32px;
     top: 10px;
     right: 10px;
   }

   .vx-button {
     max-width: 100%;
   }
 }

 @media (max-width: 480px) {
   .vx-content {
     padding: 35px 20px;
   }

   .vx-title {
     font-size: 24px;
   }

   .vx-subtitle {
     font-size: 13px;
   }

   .vx-input {
     font-size: 14px;
     padding: 10px 0;
   }

   .vx-checkbox-label {
     font-size: 12px;
   }

   .vx-button {
     padding: 14px 40px;
     font-size: 14px;
   }
 }

 @media (min-width: 769px) {
   .vx-row {
     flex-direction: row;
   }

   .vx-field {
     flex: 1;
   }
 }


 /* success Popup */

.app-popup-overlay {
    display: none; 
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); 
    z-index: 1000; 
    justify-content: center;
    align-items: center;
}

.app-popup-content {
    background-color: #ffffff;
    color: #333;
    padding: 30px 40px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 400px; 
    text-align: center;
    transform: scale(0.95); 
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

.app-popup-close-btn {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    margin-top: 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.2s;
}

.app-popup-close-btn:hover {
    background-color: #0056b3;
}

.app-popup-overlay.is-active {
    display: flex;
}
.app-popup-overlay.is-active .app-popup-content {
    transform: scale(1);
    opacity: 1;
}

.app-popup-content h2 {
    color: #28a745;
    margin-top: 0;
    font-size: 1.8em;
}
