/*
|--------------------------------------------------------------------------
| Location QR Code Generator
| By zworkGo
|--------------------------------------------------------------------------
*/

*,
*::before,
*::after{
margin:0;
padding:0;
box-sizing:border-box;
}

:root{

--primary:#17c964;
--primary-dark:#10b759;
--secondary:#2563eb;

--white:#ffffff;
--black:#000000;

--text:#1f2937;
--muted:#6b7280;

--border:rgba(255,255,255,.35);

--glass:rgba(255,255,255,.72);

--radius:28px;

--shadow:
0 20px 50px rgba(0,0,0,.08);

--transition:.35s ease;

}

html{

scroll-behavior:smooth;

}

body{

font-family:'Inter',sans-serif;

background:
linear-gradient(135deg,#eef8f3,#edf5ff);

color:var(--text);

min-height:100vh;

overflow-x:hidden;

}

.background{

position:fixed;

inset:0;

z-index:-1;

background:

radial-gradient(circle at top left,
rgba(23,201,100,.25),
transparent 35%),

radial-gradient(circle at bottom right,
rgba(37,99,235,.18),
transparent 35%),

linear-gradient(
135deg,
#eef8f3,
#edf5ff
);

}

.container{

width:1200px;

max-width:95%;

margin:60px auto;

}

.glass-card{

position:relative;

display:flex;

justify-content:space-between;

align-items:flex-start;

gap:60px;

padding:60px;

border-radius:30px;

background:var(--glass);

backdrop-filter:blur(24px);

-webkit-backdrop-filter:blur(24px);

border:1px solid rgba(255,255,255,.45);

box-shadow:var(--shadow);

overflow:hidden;

}

.glass-card::before{

content:"";

position:absolute;

top:-160px;

right:-160px;

width:340px;

height:340px;

border-radius:50%;

background:
rgba(23,201,100,.12);

filter:blur(70px);

pointer-events:none;

}

.left-side{

flex:1;

}

.right-side{

width:420px;

}

.logo{

width:78px;

height:78px;

display:flex;

align-items:center;

justify-content:center;

border-radius:22px;

background:

linear-gradient(
135deg,
#17c964,
#10b759
);

color:#fff;

font-size:34px;

box-shadow:

0 15px 40px
rgba(23,201,100,.35);

margin-bottom:22px;

transition:var(--transition);

}

.logo:hover{

transform:
rotate(-8deg)
scale(1.06);

}

.badge{

display:inline-block;

padding:8px 18px;

border-radius:40px;

background:#e8fff2;

color:#17c964;

font-size:13px;

font-weight:700;

margin-bottom:20px;

}

h1{

font-family:'Poppins',sans-serif;

font-size:48px;

font-weight:700;

line-height:1.2;

margin-bottom:18px;

color:#111827;

}

.subtitle{

font-size:18px;

line-height:30px;

color:var(--muted);

margin-bottom:40px;

}

/*--------------------------------------------------
Form
--------------------------------------------------*/

.form-group{

display:flex;

flex-direction:column;

gap:12px;

margin-bottom:28px;

}

.form-group label{

font-size:15px;

font-weight:600;

color:#374151;

}

.form-group input{

width:100%;

height:64px;

padding:0 22px;

border:2px solid transparent;

outline:none;

border-radius:18px;

font-size:16px;

background:#ffffff;

transition:var(--transition);

box-shadow:

0 10px 30px rgba(0,0,0,.05);

}

.form-group input:hover{

transform:translateY(-2px);

}

.form-group input:focus{

border-color:#17c964;

box-shadow:

0 0 0 5px rgba(23,201,100,.15);

}

/*--------------------------------------------------
Generate Button
--------------------------------------------------*/

.generate-btn{

width:100%;

height:64px;

border:none;

outline:none;

cursor:pointer;

border-radius:18px;

background:

linear-gradient(
135deg,
#17c964,
#10b759
);

color:#ffffff;

font-size:17px;

font-weight:700;

transition:var(--transition);

box-shadow:

0 18px 35px rgba(23,201,100,.30);

}

.generate-btn:hover{

transform:translateY(-3px);

box-shadow:

0 22px 45px rgba(23,201,100,.40);

}

.generate-btn:active{

transform:scale(.98);

}

/*--------------------------------------------------
Supported Tags
--------------------------------------------------*/

.supported{

display:flex;

flex-wrap:wrap;

gap:12px;

margin-top:35px;

}

.supported span{

padding:10px 18px;

background:#ffffff;

border-radius:50px;

font-size:14px;

font-weight:600;

color:#17c964;

border:1px solid rgba(23,201,100,.15);

box-shadow:

0 8px 20px rgba(0,0,0,.05);

transition:var(--transition);

}

.supported span:hover{

background:#17c964;

color:#ffffff;

transform:translateY(-3px);

}

/*--------------------------------------------------
Small Note
--------------------------------------------------*/

.note{

margin-top:28px;

font-size:15px;

line-height:28px;

color:#6b7280;

}

/*--------------------------------------------------
Right Panel
--------------------------------------------------*/

.right-side{

width:420px;

display:flex;

flex-direction:column;

gap:25px;

}

/*--------------------------------------------------
Preview Card
--------------------------------------------------*/

.preview-card{

background:#ffffff;

border-radius:28px;

padding:35px;

text-align:center;

border:1px solid rgba(0,0,0,.05);

box-shadow:

0 20px 45px rgba(0,0,0,.08);

transition:var(--transition);

}

.preview-card:hover{

transform:translateY(-6px);

box-shadow:

0 28px 60px rgba(0,0,0,.10);

}

.preview-card h2{

font-family:'Poppins',sans-serif;

font-size:24px;

font-weight:700;

margin-bottom:25px;

color:#111827;

}

/*--------------------------------------------------
QR Preview
--------------------------------------------------*/

#qrPreview{

width:260px;

height:260px;

margin:auto;

display:flex;

align-items:center;

justify-content:center;

background:#f8fafc;

border:2px dashed #d1d5db;

border-radius:22px;

overflow:hidden;

transition:var(--transition);

}

#qrPreview:hover{

border-color:#17c964;

transform:scale(1.02);

}

#qrPreview img{

max-width:100%;

max-height:100%;

display:block;

}

#qrPreview canvas{

max-width:100%;

max-height:100%;

display:block;

}

/*--------------------------------------------------
Buttons
--------------------------------------------------*/

.button-group{

display:flex;

flex-direction:column;

gap:15px;

margin-top:30px;

}

/*--------------------------------------------------
Download Button
--------------------------------------------------*/

.download-btn{

width:100%;

height:58px;

border:none;

outline:none;

border-radius:18px;

cursor:pointer;

background:

linear-gradient(
135deg,
#2563eb,
#1d4ed8
);

color:#ffffff;

font-size:16px;

font-weight:700;

transition:var(--transition);

box-shadow:

0 16px 35px rgba(37,99,235,.28);

}

.download-btn:hover{

transform:translateY(-3px);

box-shadow:

0 22px 40px rgba(37,99,235,.35);

}

.download-btn:disabled{

background:#cbd5e1;

box-shadow:none;

cursor:not-allowed;

transform:none;

}

/*--------------------------------------------------
Reset Button
--------------------------------------------------*/

.reset-btn{

width:100%;

height:58px;

border:none;

outline:none;

border-radius:18px;

cursor:pointer;

background:

linear-gradient(
135deg,
#ef4444,
#dc2626
);

color:#ffffff;

font-size:16px;

font-weight:700;

transition:var(--transition);

box-shadow:

0 16px 35px rgba(239,68,68,.25);

}

.reset-btn:hover{

transform:translateY(-3px);

box-shadow:

0 22px 40px rgba(239,68,68,.35);

}

/*--------------------------------------------------
Features
--------------------------------------------------*/

.features{

margin-top:30px;

display:flex;

flex-direction:column;

gap:18px;

}

.feature-item{

display:flex;

align-items:center;

gap:18px;

padding:18px;

background:#ffffff;

border:1px solid rgba(0,0,0,.05);

border-radius:18px;

box-shadow:0 12px 30px rgba(0,0,0,.05);

transition:var(--transition);

}

.feature-item:hover{

transform:translateY(-5px);

box-shadow:0 20px 40px rgba(0,0,0,.10);

}

.feature-icon{

width:58px;

height:58px;

display:flex;

align-items:center;

justify-content:center;

border-radius:16px;

background:

linear-gradient(
135deg,
#17c964,
#10b759
);

color:#ffffff;

font-size:24px;

flex-shrink:0;

box-shadow:0 12px 30px rgba(23,201,100,.25);

}

.feature-text{

flex:1;

}

.feature-text h4{

font-size:17px;

font-weight:700;

margin-bottom:6px;

color:#111827;

}

.feature-text p{

font-size:14px;

line-height:24px;

color:#6b7280;

}

/*--------------------------------------------------
Footer
--------------------------------------------------*/

.footer{

margin-top:60px;

padding:30px 0;

text-align:center;

border-top:1px solid rgba(0,0,0,.06);

}

.footer p{

font-size:15px;

color:#6b7280;

}

.footer strong{

color:#17c964;

}

/*--------------------------------------------------
Animations
--------------------------------------------------*/

@keyframes floatCard{

0%{

transform:translateY(0px);

}

50%{

transform:translateY(-8px);

}

100%{

transform:translateY(0px);

}

}

@keyframes fadeUp{

0%{

opacity:0;

transform:translateY(30px);

}

100%{

opacity:1;

transform:translateY(0);

}

}

.glass-card{

animation:floatCard 6s ease-in-out infinite;

}

.left-side{

animation:fadeUp .7s ease;

}

.right-side{

animation:fadeUp .9s ease;

}

.logo,
.generate-btn,
.download-btn,
.reset-btn,
.feature-item{

transition:all .35s ease;

}

.logo:hover{

transform:rotate(-8deg) scale(1.08);

}

.generate-btn:active,
.download-btn:active,
.reset-btn:active{

transform:scale(.97);

}

.preview-card{

transition:all .35s ease;

}

.preview-card:hover{

transform:translateY(-6px);

}

#qrPreview{

transition:all .35s ease;

}

#qrPreview:hover{

transform:scale(1.02);

border-color:#17c964;

}

/*--------------------------------------------------
Scrollbar
--------------------------------------------------*/

::-webkit-scrollbar{

width:10px;

}

::-webkit-scrollbar-track{

background:#edf2f7;

}

::-webkit-scrollbar-thumb{

background:#17c964;

border-radius:50px;

}

::-webkit-scrollbar-thumb:hover{

background:#10b759;

}

/*--------------------------------------------------
Selection
--------------------------------------------------*/

::selection{

background:#17c964;

color:#ffffff;

}

/*--------------------------------------------------
Responsive
--------------------------------------------------*/

@media(max-width:1200px){

.container{

width:95%;

}

.glass-card{

gap:40px;

padding:45px;

}

.right-side{

width:380px;

}

}

@media(max-width:992px){

.glass-card{

flex-direction:column;

align-items:center;

padding:40px;

}

.left-side{

width:100%;

}

.right-side{

width:100%;

max-width:500px;

}

.preview-card{

width:100%;

}

#qrPreview{

width:240px;

height:240px;

}

.supported{

justify-content:center;

}

}

@media(max-width:768px){

.container{

margin:25px auto;

}

.glass-card{

padding:25px;

border-radius:22px;

}

.logo{

width:64px;

height:64px;

font-size:30px;

margin:auto;

margin-bottom:18px;

}

.badge{

display:block;

width:max-content;

margin:0 auto 20px;

}

.left-side{

text-align:center;

}

.right-side{

width:100%;

}

h1{

font-size:34px;

}

.subtitle{

font-size:16px;

line-height:28px;

margin-bottom:30px;

}

.form-group input{

height:56px;

font-size:15px;

}

.generate-btn{

height:56px;

font-size:16px;

}

.download-btn{

height:56px;

}

.reset-btn{

height:56px;

}

#qrPreview{

width:210px;

height:210px;

}

.feature-item{

flex-direction:column;

text-align:center;

}

.feature-icon{

margin-bottom:10px;

}

.footer{

margin-top:40px;

}

}

@media(max-width:480px){

body{

padding:15px;

}

.container{

width:100%;

}

.glass-card{

padding:18px;

gap:20px;

}

h1{

font-size:28px;

}

.subtitle{

font-size:15px;

line-height:24px;

}

.logo{

width:58px;

height:58px;

font-size:26px;

}

.form-group input{

padding:0 16px;

}

#qrPreview{

width:170px;

height:170px;

}

.supported{

gap:8px;

}

.supported span{

font-size:12px;

padding:8px 12px;

}

.button-group{

gap:12px;

}

.feature-item{

padding:15px;

}

.feature-text h4{

font-size:16px;

}

.feature-text p{

font-size:13px;

line-height:22px;

}

.footer p{

font-size:13px;

}

}

/*--------------------------------------------------
Print
--------------------------------------------------*/

@media print{

body{

background:#ffffff;

}

.background{

display:none;

}

.generate-btn,
.download-btn,
.reset-btn{

display:none;

}

.glass-card{

box-shadow:none;

border:1px solid #dddddd;

}

}

/*--------------------------------------------------
End
--------------------------------------------------*/