/* DeviceDrop Enhanced Styles */
.devicedrop-container {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Auth Tabs */
.devicedrop-tabs {
    display: flex;
    margin-bottom: 20px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.devicedrop-tab {
    flex: 1;
    padding: 12px 20px;
    background: #fff;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    transition: all 0.3s ease;
}

.devicedrop-tab.active {
    background: #007cba;
    color: #fff;
}

.devicedrop-tab:hover {
    background: #005a87;
    color: #fff;
}

/* Tab Contents */
.devicedrop-tab-content {
    display: none;
}

.devicedrop-tab-content.active {
    display: block;
}

/* Forms */
.devicedrop-form {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.devicedrop-form input[type="text"],
.devicedrop-form input[type="email"],
.devicedrop-form input[type="password"] {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.devicedrop-form input:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 3px rgba(0,124,186,0.1);
}

.devicedrop-form button[type="submit"],
.devicedrop-button {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #007cba, #005a87);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.devicedrop-form button[type="submit"]:hover,
.devicedrop-button:hover {
    background: linear-gradient(135deg, #005a87, #003d5c);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,124,186,0.3);
}

/* User Info */
.devicedrop-user-info {
    background: #fff;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.devicedrop-user-info p {
    margin: 0;
    color: #333;
    font-weight: 500;
}

.devicedrop-logout {
    color: #dc3545;
    text-decoration: none;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.devicedrop-logout:hover {
    background: #dc3545;
    color: #fff;
    text-decoration: none;
}

/* Dropzone */
.devicedrop-dropzone {
    border: 3px dashed #007cba;
    border-radius: 10px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    background: #f8f9fa;
}

.devicedrop-dropzone:hover,
.devicedrop-dropzone.dragover {
    border-color: #005a87;
    background: #e3f2fd;
    transform: scale(1.02);
}

.devicedrop-dropzone p {
    margin: 0;
    color: #007cba;
    font-size: 16px;
    font-weight: 500;
}

.devicedrop-input {
    display: none;
}

/* Success/Error Messages */
.devicedrop-success {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    border: 1px solid #c3e6cb;
}

.devicedrop-error {
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    border: 1px solid #f5c6cb;
}

/* QR Code */
.devicedrop-qrcode {
    display: block;
    margin: 20px auto;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    padding: 10px;
}

/* Buttons */
.devicedrop-copy-btn,
.devicedrop-download-btn {
    padding: 8px 15px;
    font-size: 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.devicedrop-copy-btn {
    background: #6c757d;
    color: #fff;
}

.devicedrop-copy-btn:hover {
    background: #545b62;
}

.devicedrop-download-btn {
    background: #28a745;
    color: #fff;
}

.devicedrop-download-btn:hover {
    background: #218838;
    text-decoration: none;
}

/* Files List */
.devicedrop-files-list {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.devicedrop-files-list h3 {
    margin-top: 0;
    color: #333;
    border-bottom: 2px solid #007cba;
    padding-bottom: 10px;
}

.devicedrop-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.devicedrop-table th,
.devicedrop-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
    font-size: 14px;
}

.devicedrop-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #495057;
}

.devicedrop-table tr:hover {
    background: #f8f9fa;
}

/* Loading */
#devicedrop-loading {
    text-align: center;
    color: #007cba;
    font-weight: 500;
    padding: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .devicedrop-container {
        margin: 10px;
        padding: 15px;
    }
    
    .devicedrop-user-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .devicedrop-table {
        font-size: 12px;
    }
    
    .devicedrop-table th,
    .devicedrop-table td {
        padding: 8px;
    }
    
    .devicedrop-copy-btn,
    .devicedrop-download-btn {
        font-size: 11px;
        padding: 6px 10px;
    }
}