/* style.css */ /* ANIMATIONS */ @keyframes gradientMove { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } } @keyframes pulse { 0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(89, 211, 241, 0.7); } 70% { transform: scale(1.02); box-shadow: 0 0 10px 4px rgba(89, 211, 241, 0.2); } 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(89, 211, 241, 0); } } @keyframes gradientShift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } } @keyframes versionGlow { 0% { background-position: 0% 50%; } 100% { background-position: 100% 50%; } } /* GLOBAL */ html { min-width: 750px; max-width: 100%; position: relative; vertical-align: middle; background: linear-gradient(135deg, #ac24eb, #6ac9ee, #4f4dda); background-size: 150% 150%; animation: gradientMove 10s ease infinite; } body { margin: 0; padding: 0; border: 3px solid #2563eb; border-radius: 12px; font-family: 'Inter', sans-serif; background: transparent; } /* FORM */ form { max-width: 1000px; margin: 10px auto; padding: 10px 15px; border-radius: 8px; background: rgba(193, 237, 245, 0.95); box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15); border: 2px solid #598fe6; } label { color: #151616; font-weight: 500; padding: 6px; text-transform: capitalize; font-family: 'Inter', sans-serif; font-size: 15px; letter-spacing: 0.5px; } fieldset { border-radius: 6px; margin-bottom: 10px; border: 2px solid #2563eb; background: rgba(255, 255, 255, 0.9); transition: all 0.3s ease; } legend { font-size: 1.5em; margin-bottom: 8px; color: #1e3a8a; font-weight: 600; } /* INPUTS & SELECT */ input[type=date], input[type=number], input[id=irctc-login], input[type=password], input[type=text], input[id=train-no], select { background: rgba(255, 255, 255, 0.95); border: 2px solid #93c5fd; border-radius: 6px; font-size: 14px; height: 36px; margin: 4px 0; outline: none; padding: 6px; color: #1e293b; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); transition: all 0.3s ease; } input[type=date]:hover, input[type=number]:hover, input[id=irctc-login]:hover, input[type=password]:hover, input[type=text]:hover, input[id=train-no]:hover, select:hover { border-color: #5382e7; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); } input[type=date]:focus, input[type=number]:focus, input[id=irctc-login]:focus, input[type=password]:focus, input[type=text]:focus, input[id=train-no]:focus, select:focus { border-color: #355ee6; box-shadow: 0 0 8px rgba(30, 64, 175, 0.5); outline: none; } /* HEADINGS */ h1, h2, h3 { text-align: center; color: #1e3a8a; font-weight: 600; } /* NOTICE */ .notice-container { display: block; padding: 12px; margin: 12px 0; background: #fdffff; border-left: 4px solid #59d3f1; font-family: sans-serif; font-size: 15px; color: #111827; border-radius: 6px; animation: pulse 2s infinite; } .notice-text { background: linear-gradient(90deg, #2b6de7, #00c6ff, #2b6de7); background-size: 200%; background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; animation: gradientMove 4s ease infinite; font-weight: bold; font-size: 16px; display: inline-block; } /* LICENSE */ .license-container { padding-bottom: 0; text-align: left; font-family: sans-serif; } .license-heading { margin: 0; font-size: 15px; font-weight: bold; } .gradient-title { background: linear-gradient(90deg, #6366f1, #3b82f6, #6366f1); background-size: 300%; background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; animation: gradientMove 6s linear infinite; } .license-info { margin: 4px; font-size: 14px; color: #374151; } .label-gradient { font-weight: bold; background: linear-gradient(90deg, #10b981, #06b6d4, #10b981); background-size: 300%; background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; animation: gradientMove 5s ease-in-out infinite; } .expiry-date { font-weight: 600; color: #513bd3; } /* BUTTONS */ .registerbtn { color: #fff; font-size: 15px; font-weight: 500; padding: 10px 20px; margin: 8px 4px; border: 2px solid transparent; cursor: pointer; width: 19.5%; border-radius: 8px; background: linear-gradient(45deg, #346be2, #578ce0); box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); transition: all 0.3s ease; } .registerbtn:hover { background: linear-gradient(45deg, #1e40af, #2563eb); transform: translateY(-2px); box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); } .new-tab-button { border: none; background: linear-gradient(135deg, #6366f1, #3b82f6, #06b6d4); background-size: 200% 200%; animation: gradientShift 4s ease infinite; cursor: pointer; padding: 10px 16px; border-radius: 12px; color: #fff; font-size: 14px; font-weight: 600; box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); transition: all 0.3s ease; display: flex; flex-direction: column; align-items: center; } .new-tab-button:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.35); } .new-tab-button img { width: 2rem; display: block; margin-bottom: 4px; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2)); border-radius: 8px; transition: transform 0.3s ease; } .new-tab-button img:hover { transform: scale(1.08); } .new-tab-button p { margin: 0; font-size: 0.75rem; color: #fff; font-weight: 500; font-family: 'Poppins', sans-serif; letter-spacing: 0.5px; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25); } /* DROPDOWN & AUTOCOMPLETE */ .dropdown-list { list-style: none; padding: 0; margin: 4px 0; border-radius: 6px; max-height: 200px; overflow: auto; background: #fff; border: 2px solid #93c5fd; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); z-index: 1000; display: none; } .dropdown-list:focus-within, .dropdown-list:hover, .dropdown:focus-within .dropdown-list { display: block; } .dropdown-list-item { background-color: #fff; padding: 8px 12px; font-size: 14px; color: #1e293b; transition: all 0.2s ease; } .dropdown-list-item:hover { background: linear-gradient(45deg, #e0f2fe, #bae6fd); color: #1e3a8a; cursor: pointer; } .autocomplete { position: relative; display: inline-block; } .autocomplete-items { position: absolute; border: 2px solid #93c5fd; border-radius: 6px; z-index: 1000; top: 100%; left: 0; right: 0; max-height: 200px; overflow: auto; background: #fff; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); } .autocomplete-items div { padding: 12px; cursor: pointer; background-color: #fff; border-bottom: 1px solid #e5e7eb; color: #1e293b; transition: all 0.2s ease; } .autocomplete-items div:hover { background: linear-gradient(45deg, #e0f2fe, #bae6fd); color: #1e3a8a; } .autocomplete-active { background: linear-gradient(45deg, #2563eb, #3b82f6) !important; color: #fff !important; } /* FIELD GROUP */ .field-group { border: 2px solid #2563eb; border-top: none; margin: 15px 0; padding: 10px; border-radius: 8px; background: rgba(255, 255, 255, 0.9); } .field-group h1 { font: 20px 'Inter', sans-serif; margin: -15px -5px 10px; color: #1e3a8a; } .field-group h1 span { float: left; } .field-group h1:before { border-top: 2px solid #2563eb; content: ''; float: left; margin: 10px 4px 0 -1px; width: 20px; } .field-group h1:after { border-top: 2px solid #2563eb; content: ''; display: block; height: 24px; left: 3px; margin: 0 1px 0 0; overflow: hidden; position: relative; top: 10px; border-radius: 2px; } /* HEADER */ .header-container { display: flex; align-items: center; justify-content: space-between; padding: 10px 15px; background: rgba(255, 255, 255, 0.95); border-radius: 8px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); margin-bottom: 15px; border: 2px solid #3b82f6; } .icon-container { margin-right: 15px; } .title-clock-container { display: flex; flex-direction: column; flex-grow: 1; } .main-title-and-clock { display: flex; align-items: center; } .main-title { font-size: 28px; font-weight: 700; margin: 0 20px 0 0; white-space: nowrap; background: linear-gradient(270deg, #f045cb, #22add3, #7a34eb); background-size: 600% 600%; background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; animation: gradientMove 5s ease infinite; } .timer-clock { font-size: 18px; font-family: 'Orbitron', sans-serif; color: #fff; background: linear-gradient(45deg, #50f0da, #63a0eb); padding: 6px 10px; border-radius: 6px; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2); min-width: 100px; text-align: center; font-weight: 700; border: 2px solid #3b82f6; } .Typewriter__cursor { font-weight: bold; animation: blink 0.8s infinite; font-size: 22px; } @keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } } /* Optional: Make sure the typewriter text keeps the gradient effect */ .Typewriter__wrapper { display: inline-block; } .new-tab-button-container { margin-left: auto; } /* UTILITIES */ .number { background: linear-gradient(45deg, #3b82f6, #60a5fa); color: #fff; height: 28px; width: 28px; display: inline-block; font-size: 0.9em; margin-right: 6px; line-height: 28px; text-align: center; text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2); border-radius: 50%; } .flex { display: flex; } .flex-col { flex-direction: column; } .w-full { width: 50%; }