@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap'); :root { --primary-color: #5A67D8; --secondary-color: #4C51BF; --background-color: #F7FAFC; --card-background: #FFFFFF; --text-color: #2D3748; --subtle-text-color: #718096; --border-color: #E2E8F0; --success-color: #38A169; --error-color: #E53E3E; --shadow-color: rgba(0, 0, 0, 0.05); } * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: "Montserrat", sans-serif; background-color: var(--background-color); color: var(--text-color); display: flex; justify-content: flex-start; align-items: center; flex-direction: column; height: 100vh; } #header_page{ width: 100%; height: 90px; background: white; box-shadow: 0 10px 25px -5px var(--shadow-color), 0 10px 10px -5px var(--shadow-color); display: flex; flex-direction: row; position: sticky; top: 0; right: 0; z-index: 1; } #left_header{ display: flex; width: calc(100% / 2); height: 100%; display: flex; align-items: center; justify-content: flex-start; padding: 20px; } #left_header img{ width: 90px; height: 90px; border-radius: 50%; } #title_left{ margin-left: 10px; } #title_left h1{ font-size: 1.8rem; } #right_header{ display: flex; width: calc(100% / 2); height: 100%; align-items: center; justify-content: flex-end; padding: 20px; } #right_header a{ color: var(--text-color); text-decoration: none; font-size: 1.0rem; } #right_header a:last-child{ margin-right: 20px; } #right_header a:hover{ color: var(--primary-color); text-decoration: underline; } #right_header a:not(:last-child){ margin-right: 40px; } .wrapper { flex: 1 0 auto; width: 100%; display: flex; justify-content: center; padding: 20px 0; } .container { background-color: var(--card-background); border-radius: 16px; box-shadow: 0 10px 25px -5px var(--shadow-color), 0 10px 10px -5px var(--shadow-color); padding: 30px 40px; width: 100%; max-width: 660px; height: fit-content; border: 1px solid var(--border-color); margin: 20px 0; } .header { text-align: center; margin-bottom: 35px; } .header h1 { font-size: 2.25rem; font-weight: 800; color: var(--primary-color); margin-bottom: 8px; } .header p { font-size: 1.125rem; color: var(--subtle-text-color); } .tabs { display: flex; margin-bottom: 30px; background-color: #F7FAFC; border-radius: 10px; padding: 4px; } .tab { flex: 1; padding: 12px 16px; text-align: center; background: transparent; border: none; border-radius: 6px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; color: var(--subtle-text-color); font-size: 0.8rem; } .tab.active { background-color: var(--primary-color); color: white; box-shadow: 0 2px 4px rgba(90, 103, 216, 0.25); } .tab-content { display: none; } .tab-content.active { display: block; animation: fadeIn 0.3s ease-out; } .form-group { margin-bottom: 25px; } .form-group label { display: block; margin-bottom: 10px; font-weight: 600; font-size: 0.875rem; color: var(--text-color); } .form-group input, .form-group select { width: 100%; padding: 16px; border: 1px solid var(--border-color); border-radius: 10px; font-size: 1rem; background-color: #F7FAFC; transition: border-color 0.3s ease, box-shadow 0.3s ease; } .form-group select { appearance: none; background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23131313%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E"); background-repeat: no-repeat; background-position: right 1.2rem top 50%; background-size: 0.65rem auto; } .form-group input::placeholder { color: #A0AEC0; } .form-group input:focus, .form-group select:focus { outline: none; border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(90, 103, 216, 0.2); background-color: #fff; } .btn-convert { width: 100%; padding: 18px; background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); color: white; border: none; border-radius: 10px; font-size: 1rem; font-weight: 700; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease; display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 40px; } .btn-convert:hover:not(:disabled) { transform: translateY(-3px); box-shadow: 0 7px 20px rgba(90, 103, 216, 0.25); } .btn-convert:active:not(:disabled) { transform: translateY(-1px); } .btn-convert:disabled { opacity: 0.7; cursor: not-allowed; transform: none; box-shadow: none; } .result { margin-top: 30px; padding: 25px; border-radius: 12px; display: none; animation: slideUp 0.5s ease-out; border: 1px solid transparent; } @keyframes slideUp { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } } .result.success { background-color: #F0FFF4; border-color: #9AE6B4; color: #2F855A; } .result.error { background-color: #FFF5F5; border-color: #FEB2B2; color: #C53030; text-align: center; } .result h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 15px; display: flex; align-items: center; justify-content: center; } .result.error h3::before { content: '✗'; margin-right: 10px; font-weight: bold; } .score-display { font-size: 2.5rem; font-weight: 800; text-align: center; margin: 20px 0; color: var(--primary-color); } .result p { font-size: 1rem; line-height: 1.6; text-align: center; } .loading { width: 20px; height: 20px; border: 2px solid rgba(255, 255, 255, 0.5); border-radius: 50%; border-top-color: #fff; animation: spin 1s linear infinite; } #footer_page { width: 100%; height: 60px; background-color: #1e293b; display: flex; color: white; align-items: center; justify-content: space-between; padding: 5px 40px; flex-shrink: 0; } #footer_page a{ color: inherit; } @keyframes spin { to { transform: rotate(360deg); } } #responsive-break{ display: none; } @media (max-width: 768px) { #header_page { flex-direction: column; height: auto; padding: 10px 0; text-align: center; } #left_header, #right_header { width: 100%; justify-content: center; padding: 10px 0; flex-wrap: wrap; } #left_header { flex-direction: column; } #left_header img { width: 60px; height: 60px; margin-bottom: 8px; } #title_left { margin-left: 0; } #title_left h1 { font-size: 1.5rem; } #right_header a { font-size: 0.95rem; margin: 5px 10px; } .container { padding: 25px; margin: 15px; } .header h1 { font-size: 1.8rem; } .header p { font-size: 1rem; } .tabs { flex-direction: column; gap: 4px; } #footer_page { flex-direction: column; height: auto; padding: 10px 20px; text-align: center; gap: 5px; } #footer_page p { margin: 4px 0; font-size: 0.95rem; } #responsive-break{ display: block; } }