/* =====================================================
UKMB PREMIUM SIGNUP
FILE: /public_html/pages/signup/design.css
REF: UKMB-SIGNUP-CSS-008
PURPOSE: Final Layout + Crop Modal + Password Repair
===================================================== */

.signup-main{
padding:40px 20px;
background:#f5f1e8;
min-height:100vh;
}

.signup-container{
max-width:900px;
margin:auto;
}

.signup-card{
background:linear-gradient(
135deg,
#075454,
#0b6666
);

border-radius:24px;
padding:30px;
box-shadow:0 15px 40px rgba(0,0,0,.20);
color:#fff;
border:1px solid rgba(215,182,109,.15);
position:relative;
overflow:hidden;
}

.signup-card:before{
content:'';
position:absolute;
top:-100px;
right:-100px;
width:300px;
height:300px;
border-radius:50%;
background:rgba(215,182,109,.05);
filter:blur(70px);
pointer-events:none;
}

.signup-top{
text-align:center;
margin-bottom:25px;
}

.signup-logo{
width:80px;
display:block;
margin:0 auto 15px;
}

.signup-top h1{
font-size:32px;
color:#d7b66d;
margin:10px 0;
}

.signup-top p{
font-size:13px;
opacity:.90;
}

.signup-badges{
display:flex;
justify-content:center;
flex-wrap:wrap;
gap:12px;
margin-bottom:25px;
}

.signup-badge{
padding:8px 18px;
border-radius:40px;
border:1px solid rgba(215,182,109,.5);
background:rgba(255,255,255,.05);
font-size:12px;
}

.form-grid{
display:grid;
grid-template-columns:repeat(3,minmax(0,1fr));
gap:14px;
margin-bottom:15px;
width:100%;
}

.form-group{
display:flex;
flex-direction:column;
min-width:0;
width:100%;
}

.form-group.full-width{
width:100%;
}

.form-group label{
font-size:12px;
margin-bottom:6px;
font-weight:600;
color:#d7b66d;
}

.form-group input,
.form-group select,
.form-group textarea{

width:100%;
padding:11px 13px;
border-radius:12px;
border:2px solid rgba(215,182,109,.6);
outline:none;
font-size:13px;
box-sizing:border-box;
background:#fff;
color:#333;
box-shadow:0 5px 15px rgba(0,0,0,.05);

}

.form-group textarea{
min-height:120px;
resize:vertical;
width:100%;
}

.password-wrapper{
position:relative;
width:100%;
display:block;
}

.password-wrapper input{
width:100%;
padding-right:55px !important;
}

.password-toggle{
position:absolute;
right:18px;
top:50%;
transform:translateY(-50%);
font-size:18px;
cursor:pointer;
color:#5b4d2d;
z-index:20;
}

.password-toggle:hover{
color:#d7b66d;
}

.photo-grid{
display:grid;
grid-template-columns:repeat(2,minmax(0,1fr));
gap:20px;
margin-top:25px;
width:100%;
}

.portrait-preview{
height:340px;
border-radius:20px;
overflow:hidden;
display:flex;
justify-content:center;
align-items:center;
cursor:pointer;
border:2px dashed #d7b66d;
background:linear-gradient(
135deg,
rgba(255,255,255,.02),
rgba(255,255,255,.08)
);

transition:.30s;
}

.portrait-preview:hover{
transform:translateY(-3px);
}

.preview-image{
width:100%;
height:100%;
display:block;
object-fit:contain;
}

.upload-placeholder{
display:flex;
flex-direction:column;
justify-content:center;
align-items:center;
gap:12px;
height:100%;
}

.upload-icon{
font-size:48px;
color:#d7b66d;
}

.action-buttons{
display:flex;
justify-content:center;
gap:12px;
flex-wrap:wrap;
margin-top:28px;
}

.draft-btn,
.reset-btn,
.signup-btn{

padding:14px 28px;
border:none;
border-radius:50px;
font-weight:700;
cursor:pointer;
transition:.30s;

}

.draft-btn{
background:#295454;
color:#fff;
}

.reset-btn{
background:#8d2d2d;
color:#fff;
}

.signup-btn{
background:linear-gradient(
90deg,
#d7b66d,
#c8a14b
);

color:#083838;
}

.login-helper{
margin-top:25px;
padding-top:18px;
border-top:1px solid rgba(215,182,109,.25);

display:flex;
justify-content:center;
align-items:center;
gap:12px;
}

.login-highlight{

padding:10px 20px;

border-radius:40px;

background:linear-gradient(
90deg,
#d7b66d,
#c8a14b
);

text-decoration:none;
font-weight:700;
color:#083838;

}


/* =====================================================
CROP MODAL FIX
===================================================== */

.crop-modal{

display:none;

position:fixed;

top:0;
left:0;

width:100vw;
height:100vh;

background:rgba(
0,
0,
0,
0.80
);

justify-content:center;
align-items:center;

z-index:99999;

padding:20px;

box-sizing:border-box;
}

.crop-modal.active{
display:flex;
}

.crop-box{

width:700px;

max-width:95%;

max-height:90vh;

overflow:auto;

background:#fff;

padding:20px;

border-radius:20px;

box-shadow:
0 15px 50px rgba(
0,
0,
0,
0.30
);

}


/* =====================================================
RESPONSIVE
===================================================== */

@media(max-width:768px){

.form-grid{
grid-template-columns:1fr;
}

.photo-grid{
grid-template-columns:1fr;
}

.portrait-preview{
height:280px;
}

.signup-card{
padding:25px;
}

}