* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    background: #f4f5f7;
    color: #222;
    line-height: 1.5;
}
.container { max-width: 780px; margin: 0 auto; padding: 40px 20px; }
.card {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    margin-bottom: 24px;
}
h1 { font-size: 24px; margin-bottom: 4px; }
h1 a { text-decoration: none; color: #222; }
.subtitle { color: #777; margin-bottom: 24px; font-size: 14px; }
form.shorten-form { display: flex; gap: 10px; flex-wrap: wrap; }
input[type=url], input[type=text], input[type=password] {
    flex: 1;
    min-width: 200px;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
}
button, .btn {
    background: #4361ee;
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}
button:hover, .btn:hover { background: #3651d4; }
.btn-danger { background: #e5484d; }
.btn-danger:hover { background: #c93d41; }
.result-box {
    margin-top: 18px;
    padding: 14px 16px;
    background: #eef1ff;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.result-box a { font-weight: 600; color: #4361ee; }
.error { color: #c93d41; margin-top: 12px; font-size: 14px; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid #eee; font-size: 14px; }
th { color: #888; font-weight: 600; text-transform: uppercase; font-size: 11px; letter-spacing: 0.03em; }
td.url-cell { max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.badge {
    background: #eef1ff;
    color: #4361ee;
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
}
.top-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.actions { display: flex; gap: 8px; }
.copy-btn { background: #eee; color: #333; padding: 6px 10px; font-size: 12px; border-radius: 5px; }
.copy-btn:hover { background: #ddd; }
.empty-state { text-align: center; color: #999; padding: 40px 0; }
