@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

*{
    box-sizing:border-box;
    font-family: 'Inter', sans-serif;
    margin: 0;
    border: 0;
}

body{
    margin:0;
    background:#dae0e6;
    display:flex;
    justify-content:center;
    align-items:center;
    min-height:100vh;
}

.auth-box{
    background:#fff;
    width:100%;
    max-width:420px;
    border-radius:16px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    padding:30px;
}

.logo{
    text-align:center;
    font-weight:700;
    font-size:26px;
    color:#ff4500;
    margin-bottom:20px;
}

.auth-box h2{
    margin:0 0 20px;
    font-size:20px;
}

input{
    width:100%;
    padding:12px;
    margin-bottom:12px;
    border-radius:10px;
    border:1px solid #ddd;
    outline:none;
    font-size:14px;
}

input:focus{
    border-color:#ff4500;
}

button{
    width:100%;
    padding:12px;
    border:none;
    border-radius:12px;
    background:#ff4500;
    color:#fff;
    font-weight:600;
    cursor:pointer;
}

button:hover{
    opacity:.9;
}

.switch{
    text-align:center;
    margin-top:15px;
    font-size:14px;
}

.switch a{
    color:#ff4500;
    text-decoration:none;
    font-weight:600;
}

.error{
    background:#ffe1e1;
    color:#b00000;
    padding:10px;
    border-radius:8px;
    margin-bottom:10px;
}

.success{
    background:#e1ffe9;
    color:#0b6d2c;
    padding:10px;
    border-radius:8px;
    margin-bottom:10px;
}

@media(max-width:480px){
    .auth-box{
        margin:10px;
    }
}


.profile-container{
    max-width: 900px;
    margin: auto;
    padding: 24px;
}

.profile-header{
    display: flex;
    gap: 24px;
    align-items: center;
}

.avatar-wrapper img{
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
}

.profile-meta h1{
    margin: 0;
    font-size: 24px;
}

.profile-stats{
    display: flex;
    gap: 16px;
    margin: 8px 0;
    color: #555;
}

.bio{
    margin: 8px 0;
}

.link{
    color: #2563eb;
    text-decoration: none;
}

.profile-actions{
    margin-top: 12px;
}

.btn{
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid #ddd;
    background: #f9f9f9;
    cursor: pointer;
}

.btn.primary{
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}

.profile-dashboard{
    margin: 24px 0;
    padding: 16px;
    background: #f3f4f6;
    border-radius: 12px;
}

.profile-posts h2{
    margin-bottom: 12px;
}