* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, #0a4ad3 0%, #0e0c0f 100%);
    color: #333;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    width: 100%;
    padding: 20px;
}

.card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    max-width: 500px;
    margin: 0 auto;
}

.login-card {
    text-align: center;
}

.logo {
    font-size: 18px;
    margin-bottom: 12px;
}

/* Logo image sizing */
.logo-img {
    display: block;
    margin: 0 auto 12px;
    max-width: 160px;
    width: 100%;
    height: auto;
}

/* Header brand (logo + title) */
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand .logo-img.header-logo {
    max-width: 48px;
    width: auto;
    margin: 0;
}
   

h2 {
    color: #0a4ad3;
    margin-bottom: 10px;
    font-size: 28px;
}

.subtitle {
    color: #999;
    font-size: 14px;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 15px;
    text-align: left;
}

input, textarea, select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    font-family: inherit;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #0a4ad3;
    box-shadow: 0 0 0 3px rgba(10, 74, 211, 0.1);
}

button {
    width: 100%;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-primary {
    background: linear-gradient(135deg, #0a4ad3 0%, #0047b3 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(10, 74, 211, 0.4);
}

.btn-secondary {
    background: #f0f0f0;
    color: #333;
}

.btn-secondary:hover {
    background: #e0e0e0;
}

.btn-danger {
    background: #ff6b6b;
    color: white;
}

.btn-danger:hover {
    background: #ff5252;
}

.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.alert-error {
    background: #ffebee;
    color: #c62828;
    border-left: 4px solid #c62828;
}

.alert-success {
    background: #e8f5e9;
    color: #2e7d32;
    border-left: 4px solid #2e7d32;
}

.alert-info {
    background: #e3f2fd;
    color: #1565c0;
    border-left: 4px solid #1565c0;
}

a {
    color: #0a4ad3;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #0047b3;
}

.link-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.link-info {
    flex: 1;
    text-align: left;
}

.link-url {
    background: white;
    padding: 8px 12px;
    border-radius: 6px;
    word-break: break-all;
    font-size: 12px;
    font-family: monospace;
    margin-top: 8px;
    border: 1px solid #e0e0e0;
}

.link-expires {
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.header h1 {
    color: #0a4ad3;
    font-size: 24px;
}

.btn-small {
    padding: 8px 12px;
    font-size: 12px;
    width: auto;
}

.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #999;
}

.empty-state p {
    font-size: 14px;
    margin: 10px 0;
}
