/* General Reset */
* {
    box-sizing: border-box;
}

@font-face {
    font-family: "GveretLevin";
    src: url("https://storage.googleapis.com/alt-landing-page-bkt/assets/fonts/GveretLevinAlefAlefAlef-Regular.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden; 
    direction: rtl;
}

/* Base Wrapper */
.page-wrapper {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: 
        linear-gradient(0deg, rgba(0, 14, 106, 0.7), rgba(0, 14, 106, 0.7)),
        url('https://storage.googleapis.com/alt-landing-page-bkt/assets/background-blue.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden; 
}

/* Main Container */
.container {
    display: flex;
    flex-direction: row-reverse; 
    width: 100%;
    height: 100vh;
    margin: 0 auto;
    padding: 0 60px 0 0;
    align-items: flex-end; 
    justify-content: space-between;
    padding-bottom: 0 !important; 
}

/* Right Content: Branding & Date */
.right-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;
    color: white;
    align-self: center; 
}

.logo-circle {
    width: clamp(80px, 14vh, 160px);
    height: clamp(80px, 14vh, 160px);
    background-color: #ffffff !important; 
    border: 2px solid #ffffff !important; 
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; 
    margin-bottom: 20px;
}

.branding-logo {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important; 
}

.banner {
    width: clamp(30vh);
}

.text-top h1 {
    font-family: Rubik;
    font-weight: 800;
    font-size: clamp(78px, 11vh, 140px); 
    margin: 0;
    line-height: 1;
    text-align: center;
}

.text-top h2 {
    font-family: Rubik;
    font-weight: 800;
    font-size: clamp(24px, 6vh, 64px);
    line-height: 1.1;
    text-align: center;
    margin: 10px 0;
}

.text-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.date-text {
    font-family: Rubik;
    font-weight: 600;
    font-size: 78px;
    line-height: 1;
    text-align: center;
    margin-top: 5px;
}

/* Left Section: Form Pillar */
.left-form {
    flex: 0 1 450px;
    max-height: 95vh;
    overflow-y: auto;
	overflow-x: hidden;
    background: linear-gradient(187.6deg, rgba(255, 255, 255, 0) 14.64%, #FFFFFF 103.71%) !important;
    display: flex;
    flex-direction: column;
    padding: clamp(20px, 4vh, 60px);
    gap: 12px;
    border-radius: 40px 40px 0 0 !important; 
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    align-self: flex-end; 
    min-height: 60vh;
}

.logo-text h3 {
    color: white;
    font-family: 'Rubik', sans-serif;
    font-weight: 600;
    font-size: clamp(24px, 4vh, 48px);
    line-height: 1.1;
    text-align: center;
    margin: 0 0 20px 0;
}

/* --- Input States --- */
.left-form input, 
.left-form select {
    width: 100%;
    padding: clamp(8px, 1.5vh, 12px) 15px;
    margin-bottom: 8px;
    border: 2px solid transparent; /* Keeps layout stable */
    border-radius: 8px;
    background-color: #ffffff;
    font-family: "Rubik", sans-serif;
    color: #000b5e;
    font-size: 1rem;
    transition: all 0.2s ease-in-out;
}

/* Placeholder Alignment */
.left-form input::placeholder {
    direction: rtl;
    unicode-bidi: plaintext;
    text-align: right;
}

/* Classic Edit Outline (Focus) */
.left-form input:focus, 
.left-form select:focus {
    outline: none !important;
    border: 2px solid #2e7d32 !important; 
    box-shadow: 0 0 8px rgba(46, 125, 50, 0.2) !important;
}

/* --- Validation States (No Shakes) --- */
.form-submitted input:invalid, 
.form-submitted select:invalid {
    border: 2px solid #d32f2f !important; 
    background-color: #fff8f8 !important;
}

.form-submitted .checkbox-label:has(input:invalid) {
    color: #d32f2f !important;
}

.form-submitted input[type="checkbox"]:invalid {
    outline: 2px solid #d32f2f !important;
    outline-offset: 3px;
}

.form-submitted input:invalid::placeholder {
    color: #d32f2f !important;
}

/* --- Checkbox & Layout --- */
.name-row {
    display: flex;
    gap: 10px;
}

.checkbox-label {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    color: #15457D;
    font-family: Rubik;
    font-weight: 700;
    font-size: 20px;
    margin: 0 0 10px 0;
    cursor: pointer;
    text-align: right;
}

.checkbox-label input {
	border: none !important;
    margin: 0;
    width: 20px;
    height: 20px;
    cursor: pointer;
    flex-shrink: 0;
}

.left-form input[type="checkbox"]:focus {
    /* 1. Remove the default browser blue/black ring */
    outline: none !important;
    
    /* 2. Add the Volcani Green outline (doesn't shift layout) */
    outline: 2px solid #2e7d32 !important;
    
    /* 3. Add a small gap between the box and the green line */
    outline-offset: 2px;
    
    /* 4. Optional: Add the subtle glow to match your text fields */
    box-shadow: 0 0 5px rgba(46, 125, 50, 0.4);
}
.left-form button {
    width: 100%;
    padding: clamp(10px, 2vh, 16px);
    background-color: #2e7d32;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: clamp(18px, 2.5vh, 40px);
    font-family: Rubik;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.left-form button:hover {
    background-color: #256329;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: auto;
    padding-top: 10px;
}

.social-icons img {
    width: 45px;
    height: auto;
}

/* High-End Modal Overlay */
.modal {
    display: none; 
    position: fixed;
    z-index: 2000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    /* Deep blue glass effect */
    background-color: rgba(0, 20, 80, 0.7); 
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Upscale Modal Card */
.modal-content {
    font-family: 'Rubik', sans-serif;
    background: #ffffff;
    padding: 50px 40px;
    border-radius: 15px; /* Matches your form's new rounded edges */
    text-align: center;
    max-width: 450px;
    width: 100%;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Success/Info Icons (Optional but recommended) */
.modal-content::before {
    content: "✓";
    display: block;
    margin: 0 auto 20px;
    width: 60px;
    height: 60px;
    line-height: 60px;
    background: #e8f5e9;
    color: #2e7d32;
    font-size: 30px;
    border-radius: 50%;
    font-weight: bold;
}

/* Styling for the Duplicate Modal Icon (different color) */
#duplicateModal .modal-content::before {
    /* 1. Change to a Lightbulb (Unicode for 💡) */
    content: "\1F4A1"; 
    
    /* 2. Change colors to match the "friendly/idea" theme */
    background: #fff9c4; /* Light yellow background */
    color: #fbc02d;      /* Warm yellow icon */
    
    /* 3. Ensure it looks upscale (these should match your existingSuccess/Info styles) */
    display: block;
    margin: 0 auto 20px;
    width: 60px;
    height: 60px;
    line-height: 60px;
    font-size: 30px;
    border-radius: 50%;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(251, 192, 45, 0.2); /* Soft yellow glow */
}

.modal-content p {
    font-size: 1.4rem;
    font-weight: 700;
    color: #000b5e;
    margin-bottom: 10px;
}

.modal-content p:last-of-type {
    font-size: 1.1rem;
    font-weight: 400;
    color: #666;
    margin-bottom: 30px;
}

/* Upscale Modal Button */
.modal-content button {
    background-color: #2e7d32; /* Matches your Volcani Green */
    color: white;
    border: none;
    padding: 14px 40px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Rubik', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.2);
}

.modal-content button:hover {
    background-color: #1b5e20;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(46, 125, 50, 0.3);
}

/* Mobile Responsive */
@media (max-width: 860px) {
    html, body { 
        height: auto; 
        /* Allow the whole page to scroll, but hide the horizontal scroll */
        overflow-x: hidden; 
        overflow-y: auto; 
    }
    
    .page-wrapper { 
        height: auto; 
        min-height: 100vh; 
        overflow: visible; 
    }
    
    .container { 
        flex-direction: column; 
        height: auto; 
        padding: 0; 
        align-items: center; 
        justify-content: flex-start;
    }
    
    .right-content { 
        padding: 40px 20px; 
        flex: 0 0 auto; 
    }
    
    .left-form {
        width: 100% !important; 
        margin: 0 !important; 
        /* Remove internal scrolling and height constraints */
        max-height: none !important; 
        overflow-y: visible !important; 
        min-height: auto !important;
        flex: 0 0 auto;
        
        /* Layout adjustments */
        border-radius: 0 !important; 
        padding: 30px 20px 40px 20px;
      background: linear-gradient(
            180deg, 
            rgba(255, 255, 255, 0) 0%, 
            rgba(255, 255, 255, 0) 60%, /* Stay blue/transparent for 60% of the form */
            rgba(255, 255, 255, 0.9) 85%, 
            #FFFFFF 100%
        ) !important;
		color: white;
		
    }
	
	.logo-text h3 {
        color: white;
        text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    }

    /* Prevent the social icons from getting cut off */
    .social-icons {
        margin-top: 20px;
    }
	 .social-icons img {
        width:50px;
    }
	
	.checkbox-label{
		color:white;
	}
	.left-form button{
		font-weight:600;
		margin-top:15px;
	}
	
	  .banner {
    order: 2;
  }

  .date-text {
    order: 1;
  }
}