body {
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #1e2029 0%, #2a1f3d 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'Segoe UI', sans-serif;
    color: #fff;
}

.main-container {
    margin-top: 50px;
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 800px;
    padding: 0 20px;
    box-sizing: border-box;
}

.upload-card {
    background-color: #1f222e;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    width: 100%;
    max-width: 400px;
    text-align: center;
    border: 1px solid #2f3442;
    margin-bottom: 50px;
}

h2 {
    color: #9f9eff;
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 24px;
}

.drop-zone {
    border: 2px dashed #42465a;
    border-radius: 12px;
    padding: 40px 20px;
    cursor: pointer;
    transition: border-color 0.3s;
    margin-bottom: 20px;
    background-color: rgba(255, 255, 255, 0.02);
}

.drop-zone:hover {
    border-color: #6c5ce7;
}

.drop-zone span {
    color: #e0e0e0;
    font-size: 14px;
}

#fileInput {
    display: none;
}

#uploadBtn {
    width: 100%;
    padding: 15px;
    background-color: #5865f2;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

#uploadBtn:hover {
    background-color: #4752c4;
}

#statusMessage {
    margin-top: 15px;
    font-size: 14px;
    min-height: 20px;
}

.table-wrapper {
    width: 100%;
    background-color: #1f222e;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid #2f3442;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

th {
    background-color: #2a2d3e;
    color: #9f9eff;
    padding: 15px 20px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

td {
    padding: 15px 20px;
    border-bottom: 1px solid #2f3442;
    vertical-align: middle;
}

tr:last-child td {
    border-bottom: none;
}

tr:hover td {
    background-color: rgba(255, 255, 255, 0.03);
}

.thumb-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #42465a;
    display: block;
    background-color: #000;
}

.copy-link {
    color: #e0e0e0;
    cursor: pointer;
    font-family: monospace;
    font-size: 14px;
    background-color: rgba(0,0,0,0.2);
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    word-break: break-all;
    position: relative;
    user-select: none;
}

.copy-link:hover {
    background-color: #5865f2;
    color: white;
}

.copy-link:active {
    transform: scale(0.98);
}

.tooltip-text {
    margin-left: 10px;
    font-size: 12px;
    color: #55efc4;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    white-space: nowrap;
}

.tooltip-text.visible {
    opacity: 1;
}

.delete-btn {
    background: transparent;
    border: none;
    color: #ff5e57;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    line-height: 30px;
    border-radius: 4px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.delete-btn:hover {
    background-color: rgba(255, 94, 87, 0.1);
    color: #ff3b30;
}