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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
    padding: 20px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
}

h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #2c3e50;
}

.card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
}

h2 {
    margin-bottom: 20px;
    color: #2c3e50;
    font-size: 1.5rem;
}

h3 {
    margin: 15px 0;
    color: #2c3e50;
    font-size: 1.2rem;
}

.form-group, .result-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

input[type="text"], input[type="file"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

input[readonly] {
    background-color: #f9f9f9;
}

button {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #2980b9;
}

.url-container {
    display: flex;
    gap: 5px;
    margin: 10px 0;
}

.url-container input {
    flex-grow: 1;
}

.url-container button {
    flex-shrink: 0;
}

#uploadStatus {
    margin-top: 10px;
    padding: 10px;
    border-radius: 4px;
}

.success {
    background-color: #d4edda;
    color: #155724;
}

.error {
    background-color: #f8d7da;
    color: #721c24;
}

#recentLinks {
    max-height: 300px;
    overflow-y: auto;
}

.link-item {
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.link-item:last-child {
    border-bottom: none;
}

.link-item p {
    margin: 5px 0;
}

.link-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #666;
}

.button {
    display: inline-block;
    background-color: #3498db;
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.button:hover {
    background-color: #2980b9;
}

.button-group {
    display: flex;
    gap: 10px;
}

.danger {
    background-color: #e74c3c;
}

.danger:hover {
    background-color: #c0392b;
}

input[type="checkbox"] {
    margin-right: 8px;
} 