/* Modal styles */
.transfer-modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.7);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1001;
	-webkit-backdrop-filter: blur(5px);
	        backdrop-filter: blur(5px);
}

.transfer-modal {
	background-color: #fff;
	border-radius: 16px;
	width: 90%;
	max-width: 1000px;
	max-height: 90vh;
	overflow-y: auto;
	position: relative;
	box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
	margin: 20px;
}

.modal-close-btn {
	position: absolute;
	top: 15px;
	right: 15px;
	background: none;
	border: none;
	cursor: pointer;
	color: #777;
	z-index: 1001 !important;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
}

.modal-close-btn:hover {
	background-color: rgba(0, 0, 0, 0.05);
	color: #333;
}

/* File Selection Step */
.file-selection-step {
	display: flex;
	flex-direction: column;
	padding: 24px;
}

.file-selection-header {
	text-align: center;
}

.file-selection-header h2 {
	font-size: 28px;
	color: #333;
	margin-bottom: 8px;
	font-weight: 600;
}

.file-selection-header p {
	color: #777;
	font-size: 16px;
}

.file-selection-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 16px;
	border-top: 1px solid #eee;
}

.file-count {
	color: #555;
	font-size: 15px;
	font-weight: 500;
}

.next-btn {
	display: flex;
	align-items: center;
	gap: 8px;
	background-color: #4285f4;
	color: white;
	border: none;
	border-radius: 8px;
	padding: 12px 24px;
	font-size: 15px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s ease;
}

.next-btn:hover {
	background-color: #3367d6;
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.next-btn:active {
	transform: translateY(0);
}

.next-btn:disabled {
	background-color: #a4c2f4;
	cursor: not-allowed;
	transform: none;
	box-shadow: none;
}

/* Configure Transfer Step */
.modal-content-container {
	display: flex;
	flex-direction: row;
	height: 600px;
	background-color: #fff;
	border-radius: 16px;
	overflow: hidden;
}

/* Files Sidebar */
.files-sidebar {
	width: 300px;
	border-right: 1px solid #eee;
	display: flex;
	flex-direction: column;
	background-color: #f9f9f9;
	position: relative;
}

.files-sidebar-header {
	padding: 16px;
	border-bottom: 1px solid #eee;
	display: flex;
	justify-content: space-between;
	align-items: center;
	background-color: #f5f5f5;
	position: relative;
	z-index: 1;
}

.files-sidebar-header h3 {
	font-size: 16px;
	color: #333;
	margin: 0;
	font-weight: 600;
}

.back-to-files-btn {
	display: flex;
	align-items: center;
	gap: 6px;
	background: none;
	border: none;
	color: #4285f4;
	font-size: 13px;
	cursor: pointer;
	padding: 6px 10px;
	border-radius: 4px;
	transition: all 0.2s ease;
	position: relative;
	z-index: 1;
}

.back-to-files-btn:hover {
	background-color: rgba(66, 133, 244, 0.1);
}

/* Improve the files list in the sidebar */
.files-list {
	flex: 1 1;
	overflow-y: auto;
	padding: 16px;
	scrollbar-width: thin;
	scrollbar-color: #ccc transparent;
}

.files-list::-webkit-scrollbar {
	width: 6px;
}

.files-list::-webkit-scrollbar-track {
	background: transparent;
}

.files-list::-webkit-scrollbar-thumb {
	background-color: #ccc;
	border-radius: 6px;
}

/* Enhance the file items in the sidebar for better visibility */
.file-item {
	display: flex;
	align-items: center;
	padding: 16px;
	border-radius: 12px;
	margin-bottom: 12px;
	background-color: white;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	transition: all 0.2s ease;
	border: 1px solid #f0f0f0;
}

.file-item:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.12);
	border-color: #4285f4;
}

.file-icon {
	color: #4285f4;
	margin-right: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	background-color: rgba(66, 133, 244, 0.1);
	border-radius: 8px;
}

.file-details {
	flex: 1 1;
	overflow: hidden;
}

.file-name {
	font-size: 15px;
	color: #333;
	margin-bottom: 4px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 200px;
	font-weight: 500;
}

.file-size {
	font-size: 13px;
	color: #777;
	font-weight: 400;
}

.remove-file-btn {
	background: none;
	border: none;
	color: #999;
	cursor: pointer;
	padding: 8px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
	margin-left: 8px;
}

.remove-file-btn:hover {
	color: #e74c3c;
	background-color: rgba(231, 76, 60, 0.1);
}

.files-sidebar-footer {
	padding: 16px;
	border-top: 1px solid #eee;
	background-color: #f5f5f5;
}

.total-size {
	font-size: 14px;
	color: #555;
	font-weight: 500;
}

/* Form Container */
.form-container {
	flex: 1 1;
	display: flex;
	flex-direction: column;
	padding: 0;
	background-color: #fff;
}

/* Form tabs */
.form-tabs {
	display: flex;
	border-bottom: 1px solid #eee;
	background-color: #f9f9f9;
}

.form-tab {
	flex: 1 1;
	padding: 16px;
	text-align: center;
	background: none;
	border: none;
	font-size: 16px;
	font-weight: 500;
	color: #777;
	cursor: pointer;
	transition: all 0.3s ease;
	border-bottom: 2px solid transparent;
	position: relative;
}

.form-tab.active {
	color: #4285f4;
	border-bottom: 2px solid #4285f4;
	background-color: #fff;
}

.form-tab:hover:not(.active):not(:disabled) {
	color: #4285f4;
	background-color: #f0f0f0;
}

.form-tab:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

/* Transfer form */
.transfer-form {
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 16px;
	height: 100%;
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-color: #ccc transparent;
}

.transfer-form::-webkit-scrollbar {
	width: 6px;
}

.transfer-form::-webkit-scrollbar-track {
	background: transparent;
}

.transfer-form::-webkit-scrollbar-thumb {
	background-color: #ccc;
	border-radius: 6px;
}

.form-group {
	margin-bottom: 16px;
}

.form-group label {
	display: block;
	margin-bottom: 8px;
	font-size: 14px;
	color: #555;
	font-weight: 500;
}

.form-input,
.form-textarea {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid #ddd;
	border-radius: 8px;
	font-size: 14px;
	transition: all 0.3s ease;
	background-color: #f9f9f9;
}

.form-input:focus,
.form-textarea:focus {
	border-color: #4285f4;
	outline: none;
	box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.2);
	background-color: #fff;
}

.form-textarea {
	min-height: 100px;
	resize: vertical;
}

.input-with-button {
	display: flex;
	align-items: center;
}

.input-with-button .form-input {
	flex: 1 1;
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}

.icon-button {
	background-color: #f5f5f5;
	border: 1px solid #ddd;
	border-left: none;
	height: 42px;
	width: 42px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	border-top-right-radius: 8px;
	border-bottom-right-radius: 8px;
	color: #777;
	transition: all 0.2s ease;
	z-index: 1;
}

.icon-button span {
	font-size: 18px;
	line-height: 1;
}

.icon-button:hover {
	background-color: #e0e0e0;
	color: #333;
}

.input-with-info {
	position: relative;
	display: flex;
	align-items: center;
}

.input-with-info .form-input {
	flex: 1 1;
}

.info-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background-color: #f0f0f0;
	color: #777;
	font-size: 12px;
	margin-left: 12px;
	cursor: pointer;
	border: none;
	transition: all 0.2s ease;
}

.info-icon:hover {
	background-color: #e0e0e0;
	color: #333;
}

.checkbox-group {
	display: flex;
	align-items: center;
	gap: 12px;
}

.checkbox-input {
	width: 18px;
	height: 18px;
	accent-color: #4285f4;
	cursor: pointer;
}

.checkbox-label {
	font-size: 14px;
	color: #555;
	cursor: pointer;
}

.form-footer {
	margin-top: auto;
	padding-top: 16px;
	border-top: 1px solid #eee;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.settings-info {
	display: flex;
	align-items: center;
	gap: 16px;
	width: 100%;
}

.settings-btn {
	background: none;
	border: none;
	color: #777;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	transition: all 0.2s ease;
}

.settings-btn:hover {
	background-color: #f0f0f0;
	color: #333;
}

.expiration-info {
	font-size: 13px;
	color: #555;
	flex: 1 1;
}

.password-status {
	font-size: 12px;
	color: #777;
	margin-top: 4px;
}

.submit-btn {
	background-color: #f8d448;
	color: #333;
	border: none;
	border-radius: 8px;
	padding: 12px 24px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.submit-btn:hover {
	background-color: #f5ca2c;
	transform: translateY(-2px);
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.submit-btn:active {
	transform: translateY(0);
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.submit-btn:disabled {
	opacity: 0.7;
	cursor: not-allowed;
	transform: none;
	box-shadow: none;
}

/* Settings styles */
.settings-container {
	padding: 24px;
	height: 100%;
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-color: #ccc transparent;
}

.settings-container::-webkit-scrollbar {
	width: 6px;
}

.settings-container::-webkit-scrollbar-track {
	background: transparent;
}

.settings-container::-webkit-scrollbar-thumb {
	background-color: #ccc;
	border-radius: 6px;
}

.settings-container h2 {
	font-size: 20px;
	font-weight: 600;
	margin-bottom: 24px;
	padding-bottom: 16px;
	border-bottom: 1px solid #eee;
	color: #333;
}

.settings-form {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.settings-group {
	margin-bottom: 16px;
}

.settings-group label {
	display: block;
	margin-bottom: 8px;
	font-size: 14px;
	color: #555;
	font-weight: 500;
}

.settings-select,
.settings-input {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid #ddd;
	border-radius: 8px;
	font-size: 14px;
	background-color: #f9f9f9;
	transition: all 0.3s ease;
}

.settings-select:focus,
.settings-input:focus {
	border-color: #4285f4;
	outline: none;
	box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.2);
	background-color: #fff;
}

.password-input {
	position: relative;
}

.toggle-password {
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	color: #777;
	cursor: pointer;
	padding: 6px;
	border-radius: 50%;
	transition: all 0.2s ease;
}

.toggle-password:hover {
	background-color: rgba(0, 0, 0, 0.05);
	color: #333;
}

.settings-footer {
	margin-top: 30px;
	padding-top: 16px;
	border-top: 1px solid #eee;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.close-settings {
	background: none;
	border: none;
	color: #777;
	cursor: pointer;
	padding: 8px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
}

.close-settings:hover {
	background-color: rgba(0, 0, 0, 0.05);
	color: #333;
}

.done-btn {
	background-color: #e74c3c;
	color: white;
	border: none;
	border-radius: 8px;
	padding: 10px 24px;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.done-btn:hover {
	background-color: #c0392b;
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.done-btn:active {
	transform: translateY(0);
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Transferring styles */
.transferring-container {
	padding: 40px;
	text-align: center;
}

.transferring-container h2 {
	font-size: 24px;
	font-weight: 600;
	margin-bottom: 30px;
	color: #333;
}

.progress-circle {
	position: relative;
	width: 120px;
	height: 120px;
	margin: 0 auto 24px;
}

.progress-text {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 24px;
	font-weight: 600;
	color: #4285f4;
}

.upload-speed {
	font-size: 15px;
	color: #555;
	margin-bottom: 8px;
}

.upload-size {
	font-size: 15px;
	color: #777;
	margin-bottom: 30px;
}

.uploaded-size {
	font-weight: 600;
	color: #333;
}

.cancel-btn {
	background: none;
	border: 1px solid #ddd;
	border-radius: 8px;
	padding: 12px 30px;
	font-size: 15px;
	font-weight: 500;
	color: #555;
	cursor: pointer;
	transition: all 0.3s ease;
}

.cancel-btn:hover {
	background-color: #f5f5f5;
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.cancel-btn:active {
	transform: translateY(0);
	box-shadow: none;
}

/* Success styles */
.success-container {
	padding: 40px;
	text-align: center;
}

.success-container h2 {
	font-size: 24px;
	font-weight: 600;
	margin-bottom: 30px;
	color: #333;
}

.success-icon {
	margin-bottom: 24px;
}

.dt-circle {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	background-color: #4285f4;
	color: white;
	font-size: 24px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto;
	box-shadow: 0 6px 16px rgba(66, 133, 244, 0.3);
}

.success-message {
	font-size: 20px;
	font-weight: 600;
	margin-bottom: 8px;
	color: #333;
}

.expiry-message {
	font-size: 15px;
	color: #777;
	margin-bottom: 28px;
	line-height: 1.5;
}

.link-container {
	display: flex;
	background-color: #f5f5f5;
	border-radius: 8px;
	margin-bottom: 30px;
	max-width: 500px;
	margin-left: auto;
	margin-right: auto;
	overflow: hidden;
	border: 1px solid #eee;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
	transition: all 0.3s ease;
}

.link-container:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.transfer-link {
	flex: 1 1;
	padding: 14px;
	border: none;
	background: transparent;
	font-size: 15px;
	color: #333;
}

.copy-btn {
	background-color: #e74c3c;
	color: white;
	border: none;
	padding: 0 24px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
}

.copy-btn:hover {
	background-color: #c0392b;
}

.upgrade-btn {
	background-color: #f8d448;
	color: #333;
	border: none;
	border-radius: 8px;
	padding: 14px 32px;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 4px 10px rgba(248, 212, 72, 0.3);
}

.upgrade-btn:hover {
	background-color: #f5ca2c;
	transform: translateY(-2px);
	box-shadow: 0 6px 15px rgba(248, 212, 72, 0.4);
}

.upgrade-btn:active {
	transform: translateY(0);
	box-shadow: 0 4px 10px rgba(248, 212, 72, 0.3);
}

/* Custom Dashboard styles */
.custom-dashboard .uppy-Dashboard-inner {
	border: none !important;
	box-shadow: none !important;
	background-color: transparent !important;
	height: 100% !important;
	position: relative !important;
	width: 100%;
}

/* .custom-dashboard {
    max-height: 250px;
    overflow-y: hidden;
} */

.custom-dashboard .uppy-Dashboard-AddFiles {
	border: 2px dashed #4285f4;
	border-radius: 12px;
	background-color: rgba(66, 133, 244, 0.05);
	transition: all 0.3s ease;
	padding: 30px;
	margin-bottom: 20px;
	position: relative !important;
	z-index: 1 !important;
}

.custom-dashboard .uppy-Dashboard-AddFiles:hover {
	border-color: #3367d6;
	background-color: rgba(66, 133, 244, 0.1);
	transform: translateY(-2px);
}

.custom-dashboard .uppy-Dashboard-browse {
	color: #4285f4;
	font-weight: 600;
	font-size: 16px;
}

.custom-dashboard .uppy-Dashboard-dropFilesHereHint {
	color: #555;
	font-size: 20px;
	font-weight: 500;
}

/* FIXED: Strict containment for file items */
.custom-dashboard .uppy-Dashboard-Item {
	border-radius: 12px;
	margin-bottom: 12px;
	transition: all 0.2s ease;
	width: calc(50% - 20px);
	min-width: 250px;
	max-width: 350px;
	margin: 10px !important;
	background-color: #f9f9f9;
	border: 1px solid #eee;
	display: flex !important;
	align-items: center !important;
	padding: 12px !important;
	height: 80px !important;
	position: relative !important;
	box-sizing: border-box !important;
}

.custom-dashboard .uppy-Dashboard-Item:hover {
	background-color: #f5f9ff;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	border-color: #4285f4;
}

.custom-dashboard .uppy-Dashboard-Item-previewInnerWrap {
	background-color: #f5f5f5;
	border-radius: 8px;
	width: 50px !important;
	height: 50px !important;
	min-width: 50px !important;
	margin-right: 20px !important;
	flex-shrink: 0 !important;
}

.custom-dashboard .uppy-Dashboard-Item-preview {
	width: 50px !important;
	height: 50px !important;
}

/* FIXED: File info with strict width control and more spacing */
.custom-dashboard .uppy-Dashboard-Item-info {
	flex: 1 1 !important;
	min-width: 0 !important;
	overflow: hidden !important;
	padding-right: 90px !important;
	position: relative !important;
	max-width: calc(100% - 140px) !important;
}

/* FIXED: Very short filename with priority to buttons */
.custom-dashboard .uppy-Dashboard-Item-name {
	color: #333;
	font-weight: 500;
	font-size: 12px !important;
	white-space: nowrap !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	margin: 0 !important;
	padding: 0 !important;
	max-width: 80px !important;
	line-height: 1.2 !important;
	width: 80px !important;
	margin-left: 10px;
	padding-left: 10px !important;
}

.custom-dashboard .uppy-Dashboard-Item-statusSize {
	color: #777;
	font-size: 11px !important;
	margin: 4px 0 0 0 !important;
	padding: 0 !important;
	white-space: nowrap !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	padding-left: 10px !important;
}

/* FIXED: Buttons positioned within strict boundaries - FULLY VISIBLE */
.custom-dashboard .uppy-Dashboard-Item-actions {
	position: absolute !important;
	top: 8px !important;
	right: 8px !important;
	display: flex !important;
	gap: 6px !important;
	margin: 0 !important;
	padding: 4px !important;
	z-index: 3 !important;
	background: rgba(255, 255, 255, 0.95) !important;
	border-radius: 6px !important;
	width: 80px !important;
	justify-content: center !important;
}

/* FIXED: Fully visible buttons on desktop/tablet */
.custom-dashboard .uppy-Dashboard-Item-action {
	margin: 0 !important;
	padding: 6px !important;
	background: none !important;
	border: none !important;
	cursor: pointer !important;
	opacity: 0.8 !important;
	transition: all 0.2s ease !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	border-radius: 14px !important;
	min-width: 28px !important;
	min-height: 28px !important;
}

.uppy-Dashboard-Item-actionWrapper{
	position:relative;
}

.custom-dashboard .uppy-Dashboard-Item-action:hover {
	opacity: 1 !important;
}

.custom-dashboard .uppy-Dashboard-Item-action--remove {
	color: #e74c3c !important;
    right: -23px !important;
    top: -40px !important;
    z-index: 70 !important;
}

.custom-dashboard .uppy-Dashboard-Item-action--remove:hover {
	background-color: rgba(231, 76, 60, 0.1) !important;
	color: #fd1900 !important;
}

.custom-dashboard .uppy-Dashboard-Item-action--edit {
	color: #4285f4 !important;
}

.custom-dashboard .uppy-Dashboard-Item-action--edit:hover {
	background-color: rgba(66, 133, 244, 0.1) !important;
	color: #4285f4 !important;
}

/* FIXED: Reduced dashboard files height for better scrolling */
.custom-dashboard .uppy-Dashboard-files {
	display: flex !important;
	flex-wrap: wrap !important;
	padding: 8px !important;
	justify-content: flex-start !important;
	align-items: flex-start !important;
	overflow-y: auto !important;
	overflow-x: hidden !important;
	max-height: 250px !important;
	min-height: 200px !important;
	scrollbar-width: thin;
	scrollbar-color: #ccc transparent;
	position: relative !important;
	height: auto !important;
	padding-bottom: 35px !important;
}

.custom-dashboard .uppy-Dashboard-files::-webkit-scrollbar {
	width: 8px;
}

.custom-dashboard .uppy-Dashboard-files::-webkit-scrollbar-track {
	background: transparent;
}

.custom-dashboard .uppy-Dashboard-files::-webkit-scrollbar-thumb {
	background-color: #ccc;
	border-radius: 4px;
}

.custom-dashboard .uppy-Dashboard-files::-webkit-scrollbar-thumb:hover {
	background-color: #999;
}

/* FIXED: Ensure scrolling works on medium screens (900-750px) */
@media (max-width: 900px) and (min-width: 750px) {
	.custom-dashboard .uppy-Dashboard-files {
		overflow-y: scroll !important;
	}

	.custom-dashboard .uppy-Dashboard-Item {
		width: calc(100% - 16px) !important;
		min-width: 200px !important;
	}
}

/* Responsive adjustments */
@media (max-width: 768px) {
	.modal-content-container {
		flex-direction: column;
		height: auto;
		max-height: 90vh;
	}

	.files-sidebar {
		width: 100%;
		border-right: none;
		border-bottom: 1px solid #eee;
		max-height: 300px;
	}

	.files-sidebar-header {
		padding: 16px;
		padding-right: 60px;
	}

	.modal-close-btn {
		position: absolute;
		top: 15px;
		right: 15px;
		z-index: 1002 !important;
	}

	.back-to-files-btn {
		position: relative;
		z-index: 1;
	}

	.form-container {
		max-width: 100%;
		height: 400px;
		overflow-y: auto;
	}

	.transfer-modal {
		width: 95%;
		margin: 10px;
		max-height: 95vh;
	}

	.file-selection-step {
		height: auto;
		min-height: 500px;
		padding: 16px;
	}

	.file-selection-header h2 {
		font-size: 22px;
	}

	.submit-btn,
	.next-btn {
		padding: 10px 20px;
		font-size: 14px;
	}

	.settings-info {
		gap: 8px;
	}

	.transferring-container,
	.success-container {
		padding: 24px 16px;
	}

	.progress-circle {
		width: 100px;
		height: 100px;
	}

	.progress-text {
		font-size: 20px;
		padding-left: 20px;
		padding-top: 15px;
	}

	.dt-circle {
		width: 70px;
		height: 70px;
	}

	.link-container {
		flex-direction: column;
	}

	.copy-btn {
		padding: 10px;
	}

	.upgrade-btn {
		padding: 12px 24px;
	}

	.file-item {
		margin-bottom: 8px;
		padding: 10px;
	}

	.form-group {
		margin-bottom: 12px;
	}

	.form-tabs {
		position: -webkit-sticky;
		position: sticky;
		top: 0;
		z-index: 10;
	}

	/* FIXED: Mobile - buttons are priority, minimal filename */
	.custom-dashboard .uppy-Dashboard-Item {
		width: calc(100% - 16px) !important;
		min-width: 180px !important;
		height: 70px !important;
		padding: 8px !important;
	}

	.custom-dashboard .uppy-Dashboard-Item-info {
		padding-right: 65px !important;
		max-width: calc(100% - 100px) !important;
	}

	.custom-dashboard .uppy-Dashboard-Item-name {
		max-width: 60px !important;
		width: 60px !important;
		font-size: 11px !important;
	}

	.custom-dashboard .uppy-Dashboard-Item-actions {
		top: 6px !important;
		right: 6px !important;
		gap: 2px !important;
		padding: 1px !important;
		width: 55px !important;
	}

	.custom-dashboard .uppy-Dashboard-Item-action {
		padding: 3px !important;
		min-width: 22px !important;
		min-height: 22px !important;
		max-width: 22px !important;
		max-height: 22px !important;
	}

	/* Mobile pause/resume button styling */
	.custom-dashboard .uppy-Dashboard-Item-action--pause,
	.custom-dashboard .uppy-Dashboard-Item-action--resume,
	.custom-dashboard .uppy-Dashboard-Item-action--cancel {
		font-size: 12px !important;
		border-radius: 3px !important;
	}

	/* Mobile progress bar */
	.custom-dashboard .uppy-Dashboard-Item-progress {
		right: 65px !important;
		height: 2px !important;
	}

	.custom-dashboard .uppy-Dashboard-files {
		max-height: 280px !important;
		overflow-y: scroll !important;
	}

	.custom-dashboard .uppy-Dashboard-Item-preview {
		width: 40px !important;
		height: 40px !important;
	}

	.custom-dashboard .uppy-Dashboard-Item-previewInnerWrap {
		width: 40px !important;
		height: 40px !important;
		margin-right: 15px !important;
	}

	.custom-dashboard .uppy-Dashboard-AddFiles {
		padding: 20px;
	}

	.custom-dashboard .uppy-Dashboard-dropFilesHereHint {
		font-size: 16px;
	}

	.file-selection-content {
		padding: 10px;
	}

	.files-sidebar {
		max-height: 300px;
	}

	.file-item {
		padding: 15px;
		margin-bottom: 12px;
	}

	.file-icon {
		margin-right: 15px;
	}

	.file-name {
		font-size: 16px !important;
		max-width: 220px;
	}

	.file-size {
		font-size: 14px !important;
	}
}

@media (max-width: 480px) {
	.custom-dashboard .uppy-Dashboard-Item {
		width: calc(100% - 16px) !important;
		min-width: 160px !important;
	}
}

/* Animation keyframes */
@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes slideUp {
	from {
		transform: translateY(20px);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}

@keyframes pulse {
	0% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.05);
	}
	100% {
		transform: scale(1);
	}
}

/* Apply animations */
.file-item {
	animation: fadeIn 0.3s ease;
}

.success-icon .dt-circle {
	animation: pulse 2s infinite;
}

.transfer-link {
	animation: fadeIn 0.5s ease;
}

/* Progress bar styling for uploads */
.custom-dashboard .uppy-Dashboard-Item-progress {
	position: absolute !important;
	bottom: 0 !important;
	left: 0 !important;
	right: 90px !important;
	height: 3px !important;
	background-color: #f0f0f0 !important;
	border-radius: 2px !important;
	overflow: hidden !important;
}

.custom-dashboard .uppy-Dashboard-Item-progressIndicator {
	height: 100% !important;
	background-color: #4285f4 !important;
	transition: width 0.3s ease !important;
	border-radius: 2px !important;
}

/* Paused state styling */
.custom-dashboard .uppy-Dashboard-Item.is-paused .uppy-Dashboard-Item-progressIndicator {
	background-color: #ff9500 !important;
}

/* Error state styling */
.custom-dashboard .uppy-Dashboard-Item.is-error .uppy-Dashboard-Item-progressIndicator {
	background-color: #e74c3c !important;
}

/* Upload status text */
.custom-dashboard .uppy-Dashboard-Item-status {
	font-size: 11px !important;
	color: #777 !important;
	margin-top: 2px !important;
	white-space: nowrap !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
}

/* Paused status text */
.custom-dashboard .uppy-Dashboard-Item.is-paused .uppy-Dashboard-Item-status {
	color: #ff9500 !important;
	font-weight: 500 !important;
}

/* Error status text */
.custom-dashboard .uppy-Dashboard-Item.is-error .uppy-Dashboard-Item-status {
	color: #e74c3c !important;
	font-weight: 500 !important;
}

/* Uploading status text */
.custom-dashboard .uppy-Dashboard-Item.is-uploading .uppy-Dashboard-Item-status {
	color: #4285f4 !important;
	font-weight: 500 !important;
}

/* Force visibility of pause/resume buttons for debugging */
.custom-dashboard .uppy-Dashboard-Item-action--pause,
.custom-dashboard .uppy-Dashboard-Item-action--resume {
	display: flex !important;
	visibility: visible !important;
	opacity: 1 !important;
	background-color: rgba(255, 255, 255, 0.9) !important;
	border: 1px solid #ddd !important;
	border-radius: 4px !important;
	font-weight: bold !important;
}

/* Debug: Make pause/resume buttons more prominent */
.custom-dashboard .uppy-Dashboard-Item-action--pause {
	color: #ff9500 !important;
	background-color: rgba(255, 149, 0, 0.1) !important;
	border-color: #ff9500 !important;
}

.custom-dashboard .uppy-Dashboard-Item-action--resume {
	color: #4285f4 !important;
	background-color: rgba(66, 133, 244, 0.1) !important;
	border-color: #4285f4 !important;
}

/* Progress bar styling for uploads */
.custom-dashboard .uppy-Dashboard-Item-progress {
	position: absolute !important;
	bottom: 0 !important;
	left: 0 !important;
	right: 90px !important;
	height: 3px !important;
	background-color: #f0f0f0 !important;
	border-radius: 2px !important;
	overflow: hidden !important;
}

.custom-dashboard .uppy-Dashboard-Item-progressIndicator {
	height: 100% !important;
	background-color: #4285f4 !important;
	transition: width 0.3s ease !important;
	border-radius: 2px !important;
}

/* Paused state styling */
.custom-dashboard
	.uppy-Dashboard-Item.is-paused
	.uppy-Dashboard-Item-progressIndicator {
	background-color: #ff9500 !important;
}

/* Error state styling */
.custom-dashboard
	.uppy-Dashboard-Item.is-error
	.uppy-Dashboard-Item-progressIndicator {
	background-color: #e74c3c !important;
}

/* Upload status text */
.custom-dashboard .uppy-Dashboard-Item-status {
	font-size: 11px !important;
	color: #777 !important;
	margin-top: 2px !important;
	white-space: nowrap !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
}

/* Paused status text */
.custom-dashboard .uppy-Dashboard-Item.is-paused .uppy-Dashboard-Item-status {
	color: #ff9500 !important;
	font-weight: 500 !important;
}

/* Error status text */
.custom-dashboard .uppy-Dashboard-Item.is-error .uppy-Dashboard-Item-status {
	color: #e74c3c !important;
	font-weight: 500 !important;
}

/* Uploading status text */
.custom-dashboard
	.uppy-Dashboard-Item.is-uploading
	.uppy-Dashboard-Item-status {
	color: #4285f4 !important;
	font-weight: 500 !important;
}

/* Force visibility of pause/resume buttons for debugging */
.custom-dashboard .uppy-Dashboard-Item-action--pause,
.custom-dashboard .uppy-Dashboard-Item-action--resume {
	display: flex !important;
	visibility: visible !important;
	opacity: 1 !important;
	background-color: rgba(255, 255, 255, 0.9) !important;
	border: 1px solid #ddd !important;
	border-radius: 4px !important;
	font-weight: bold !important;
}

/* Debug: Make pause/resume buttons more prominent */
.custom-dashboard .uppy-Dashboard-Item-action--pause {
	color: #ff9500 !important;
	background-color: rgba(255, 149, 0, 0.1) !important;
	border-color: #ff9500 !important;
}

.custom-dashboard .uppy-Dashboard-Item-action--resume {
	color: #4285f4 !important;
	background-color: rgba(66, 133, 244, 0.1) !important;
	border-color: #4285f4 !important;
}

/* Add these styles to your TransferUploaderNonAuth.module.css */

.transfer-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.pause-resume-btn {
  background-color: #ffc107;
  color: black;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
  min-width: 100px;
}

.pause-resume-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.pause-resume-btn:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.cancel-btn {
  background-color: #f8f9fa;
  color: #6c757d;
  border: 1px solid #dee2e6;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
  min-width: 100px;
}

.cancel-btn:hover {
  background-color: #e9ecef;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Update existing styles */
.progress-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 18px;
  font-weight: bold;
  color: #333;
  text-align: center;
  line-height: 1.2;
}

.upload-speed {
  margin: 10px 0;
  font-size: 14px;
  color: #666;
  text-align: center;
}

.upload-size {
  margin: 10px 0;
  font-size: 14px;
  color: #666;
  text-align: center;
}

.uploaded-size {
  font-weight: bold;
  color: #4285f4;
}


/* Progress Circle Container */
.progress-circle {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px auto;
}

/* Center content within the circle */
.progress-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

/* Percentage text */
.progress-percentage {
  font-size: 24px;
  font-weight: 600;
  color: #1073e1;
  line-height: 1;
}

/* Center control button (play/pause) */
.center-control-btn {
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: transparent;
  transition: all 0.2s ease;
}

.center-control-btn:hover {
  background: #3367D6;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.center-control-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Transfer controls */
.transfer-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

/* Cancel button */
.cancel-btn {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 24px;
  padding: 12px 24px;
  cursor: pointer;
  font-weight: 500;
  color: #333;
  transition: all 0.2s ease;
  min-width: 120px;
}

.cancel-btn:hover {
  background: #f8f9fa;
  border-color: #bbb;
}

/* Upload status text */
.upload-speed {
  text-align: center;
  font-size: 14px;
  color: black;
  margin: 16px 0 8px 0;
}

.upload-size {
  text-align: center;
  font-size: 14px;
  color: #666;
  margin: 8px 0 20px 0;
}

.uploaded-size {
  font-weight: 600;
  color: black;
  display: block;
}

@media (max-width: 768px) {
  .progress-circle svg {
    width: 100px;
    height: 100px;
  }
  
  .progress-percentage {
    font-size: 20px;
  }
  
  .center-control-btn {
    width: 28px;
    height: 28px;
  }
  
  .center-control-btn svg {
    width: 14px;
    height: 14px;
  }
}

@keyframes dt-spin {
    0% { transform: rotate(0deg);}
    100% { transform: rotate(360deg);}
}

@media (min-width: 641px) and (max-width: 768px) {
  .uppy-u-reset.uppy-Dashboard-Item-action.uppy-Dashboard-Item-action--remove {
	    right: -16px !important;
		top: -30px !important;
  }
  .uppy-Dashboard-Item-fileInfoAndButtons{
	padding-left: 16px !important;
  }
}
.UploadFailedModal_backdrop__bf8IY {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.UploadFailedModal_modal__htHhe {
  background-color: #fff;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  max-width: 400px;
  width: 90%;
  text-align: center;
  position: relative;
  border: 2px solid #fee2e2;
}

.UploadFailedModal_closeIcon__YyV9y {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  cursor: pointer;
  color: #9ca3af;
  padding: 4px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.UploadFailedModal_closeIcon__YyV9y:hover {
  background-color: #f3f4f6;
  color: #374151;
}

.UploadFailedModal_iconContainer__lV53v {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.UploadFailedModal_errorIcon__suFQ0 {
  width: 48px;
  height: 48px;
  color: #ef4444;
  background-color: #fee2e2;
  border-radius: 50%;
  padding: 12px;
}

.UploadFailedModal_title__nput2 {
  margin-bottom: 12px;
  font-size: 24px;
  font-weight: 600;
  color: #dc2626;
  font-family:
    system-ui,
    -apple-system,
    sans-serif;
}

.UploadFailedModal_message__eis4C {
  margin-bottom: 24px;
  color: #6b7280;
  font-size: 16px;
  line-height: 1.5;
  font-family:
    system-ui,
    -apple-system,
    sans-serif;
}

.UploadFailedModal_buttonContainer__tLfVf {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.UploadFailedModal_retryButton__f2Fbv {
  padding: 12px 24px;
  background-color: #ef4444;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.2s ease;
  font-family:
    system-ui,
    -apple-system,
    sans-serif;
}

.UploadFailedModal_retryButton__f2Fbv:hover {
  background-color: #dc2626;
  transform: translateY(-1px);
}

.UploadFailedModal_cancelButton___CoxG {
  padding: 12px 24px;
  background-color: transparent;
  color: #6b7280;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.2s ease;
  font-family:
    system-ui,
    -apple-system,
    sans-serif;
}

.UploadFailedModal_cancelButton___CoxG:hover {
  background-color: #f9fafb;
  border-color: #9ca3af;
}

.transfer-container {
	position: relative;
	width: 100%;
	height: auto;
	background: linear-gradient(
		to bottom,
		#1a56db 0%,
		rgba(40, 163, 255, 1) 100%
	);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	padding: 0px 20px 40px 20px;
	overflow: hidden;
	font-family: "Arial", sans-serif;
}

.background-icons {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: 1;
}

.bg-icon-wrapper {
	position: absolute;
}

.bg-icon {
	opacity: 0.08;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.deadline-icon {
	top: 55%;
	right: 2%;
	width: 100px;
	height: 100px;
}

.folder-icon {
	top: 15%;
	right: 15%;
	width: 80px;
	height: 80px;
	transform: rotate(30deg);
}

.security-icon {
	top: 13%;
	left: 1%;
	width: 100px;
	height: 100px;
}

.transfer-icon {
	top: 50%;
	left: 20%;
	width: 100px;
	height: 100px;
	transform: rotate(-30deg);
}

.arrow-icon {
	bottom: 47%;
	right: 39%;
	width: 100px;
	height: 100px;
	transform: rotate(45deg);
}

.transfer-content {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	margin-top: 50px;
	width: 100%;
	max-width: 1400px;
}

.transfer-heading {
	color: white;
	font-size: 1rem;
	font-weight: 500;
	margin-bottom: 60px;
	text-align: center;
	max-width: 900px;
	letter-spacing: 1px;
	line-height: 1.2;
}

.highlight {
	color: #ffde59;
	font-weight: 800;
}

.transfer-button-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-bottom: 80px;
}

.transfer-button-wrapper {
	width: 120px;
	height: 120px;
	background-color: rgba(255, 255, 255, 0.15);
	border-radius: 15px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 25px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.transfer-button {
	width: 100px;
	height: 80px;
	background-color: #ffde59;
	border: none;
	border-radius: 10px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.transfer-button:hover {
	transform: scale(1.05);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.transfer-button:active {
	transform: scale(0.98);
}

.button-icon {
	width: 50px !important;
	height: 50px !important;
	object-fit: contain;
}

.button-label {
	text-align: center;
	color: white;
}

.dt-label {
	font-size: 2.5rem;
	font-weight: 700;
	margin: 0;
	letter-spacing: 1px;
}

.press-label {
	font-size: 1.2rem;
	margin: 5px 0 0 0;
	font-weight: 300;
	opacity: 0.9;
	line-height: 1.4;
}

.animated-text-container {
	height: 80px;
	width: 140px;
	overflow: hidden;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}

.animated-text {
	font-size: 1.2rem;
	margin: 5px 0 0 0;
	font-weight: 500;
	opacity: 0.9;
	line-height: 1.4;
	position: absolute;
	width: 100%;
	text-align: center;
	transition: all 0.5s ease;
}

.slide-in {
	transform: translateX(0);
	opacity: 1;
}

.slide-out {
	transform: translateX(-100%);
	opacity: 0;
}

.stats-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 25px;
	width: 100%;
	max-width: 1400px;
	/*margin-top: 1rem;*/
	z-index: 2;
	padding: 0 20px;
}

.stat-box {
	background-color: rgba(255, 255, 255, 0.15);
	border-radius: 12px;
	padding: 20px 30px;
	color: white;
	text-align: center;
	flex: 1 1;
	min-width: 220px;
	max-width: 350px;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease;
}

.stat-box:hover {
	transform: translateY(-5px);
	background-color: rgba(255, 255, 255, 0.2);
}

.stat-title {
	font-size: 1rem;
	margin: 0 0 10px 0;
	font-weight: 500;
	letter-spacing: 1px;
	opacity: 0.9;
}

.stat-value {
	font-size: 2.2rem;
	font-weight: 700;
	margin: 0;
	letter-spacing: 1px;
}

@media (max-width: 1110px) {
	.arrow-icon {
		bottom: 51%;
		right: 37%;
		width: 100px;
		height: 100px;
		transform: rotate(45deg);
	}
}

@media (max-width: 960px) {
	.arrow-icon {
		bottom: 57%;
		right: 34%;
	}
}

@media (max-width: 768px) {
	.transfer-heading {
		/*font-size: 2.2rem;*/
		padding: 0 15px;
	}

	.transfer-button-wrapper {
		width: 70px;
		height: 70px;
	}

	.transfer-button {
		width: 50px;
		height: 50px;
	}

	.button-icon {
		width: 30px !important;
		height: 30px !important;
	}

	.dt-label {
		font-size: 2rem;
	}

	.press-label {
		font-size: 1rem;
	}

	.animated-text {
		font-size: 1rem;
	}

	.animated-text-container {
		height: 60px;
	}

	.stats-container {
		flex-direction: column;
		align-items: center;
		gap: 15px;
	}

	.stat-box {
		width: 100%;
		max-width: 100%;
		padding: 15px 20px;
	}

	.stat-value {
		font-size: 1.8rem;
	}
}

.login-modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 9999;
}

.login-modal {
	background: #ffffff;
	padding: 30px 40px;
	border-radius: 12px;
	text-align: center;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
	max-width: 400px;
	width: 90%;
	animation: fadeIn 0.3s ease-in-out;
}

.login-modal-message {
	font-size: 1.4rem;
	color: #333;
	margin-bottom: 20px;
	font-weight: 600;
}

.login-modal-button {
	background-color: #ffde59;
	color: black;
	border: none;
	padding: 12px 24px;
	border-radius: 8px;
	cursor: pointer;
	font-size: 1rem;
	font-weight: 600;
	transition: all 0.3s ease;
}

.login-modal-button:hover {
	background-color: #ffd700;
	transform: scale(1.05);
}

/* Smooth fade-in animation */
@keyframes fadeIn {
	from {
		opacity: 0;
		transform: scale(0.8);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

.uppy-DragDrop-container{align-items:center;background-color:#fff;border-radius:7px;cursor:pointer;display:flex;font-family:-apple-system,system-ui,BlinkMacSystemFont,Segoe UI,Segoe UI Symbol,Segoe UI Emoji,Apple Color Emoji,Roboto,Helvetica,Arial,sans-serif;justify-content:center;max-width:100%}.uppy-DragDrop-container::-moz-focus-inner{border:0}.uppy-DragDrop-container:focus{box-shadow:0 0 0 3px #1269cf66;outline:none}.uppy-DragDrop-inner{line-height:1.4;margin:0;padding:80px 20px;text-align:center}.uppy-DragDrop-arrow{height:60px;margin-bottom:17px;width:60px;fill:#e0e0e0}.uppy-DragDrop--isDragDropSupported{border:2px dashed #adadad}.uppy-DragDrop--isDraggingOver{background:#eaeaea;border:2px dashed #1269cf}.uppy-DragDrop--isDraggingOver .uppy-DragDrop-arrow{fill:#939393}.uppy-DragDrop-label{display:block;font-size:1.15em;margin-bottom:5px}.uppy-DragDrop-browse{color:#1269cf;cursor:pointer}.uppy-DragDrop-note{color:#adadad;font-size:1em}
.TransferInterface_container__SybEb {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.7);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1002;
	-webkit-backdrop-filter: blur(5px);
	        backdrop-filter: blur(5px);
	font-family:
		-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	overflow-y: auto;
}

.TransferInterface_main__LfRou {
	padding: 2rem;
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 100vh;
	width: 100%;
}

.TransferInterface_contentWrapper__gQUoQ {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-gap: 2rem;
	gap: 2rem;
	max-width: 1200px;
	width: min-content;
	position: relative;
	min-height: 500px;
}

.TransferInterface_fileUploadSection__zwmY3 {
	max-width: 100%;
	width: 100%;
	min-width: 332px;
}

.TransferInterface_fileUploadSection__zwmY3,
.TransferInterface_authSection__UKTUW {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.TransferInterface_authSection__UKTUW {
	min-width: 460px;
	width: 100%;
}

.TransferInterface_fileUploadCard__lKGDf {
	background: white;
	border-radius: 16px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	display: flex;
	flex-direction: column;
	position: relative;
	height: 100%;
	min-height: 400px;
}

.TransferInterface_fileHeader__O6wYO {
	margin-bottom: 1rem;
}

.TransferInterface_fileCount__DB_C_ {
	font-size: 1.25rem;
	font-weight: 600;
	color: #333;
	margin: 0;
}

.TransferInterface_fileList__wIJgf {
	position: relative;
	flex: 1 1;
	margin-bottom: 1rem;
	max-height: 400px;
	overflow-y: auto;
	z-index: 22;
	transition: border 0.2s;
}

.TransferInterface_fileList__wIJgf.TransferInterface_dragging__bz3Q9 {
	border: 2px dashed #4a90e2;
	padding: calc(0.75rem - 1px);
	background: #f0f7ff;
}

.TransferInterface_fileItem__sW4ig {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.75rem;
	border-radius: 8px;
	background: #f8f9fa;
	margin-bottom: 0.5rem;
	transition: background-color 0.2s;
}

.TransferInterface_fileItem__sW4ig:hover {
	background: #e9ecef;
}

.TransferInterface_fileIcon__60OLW {
	font-size: 1.5rem;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	border-radius: 6px;
	border: 1px solid #e0e0e0;
	flex-shrink: 0;
}

.TransferInterface_fileInfo__oLCuw {
	flex: 1 1;
	min-width: 0; /* Allow truncation */
}

.TransferInterface_fileName__v0MkT {
	font-weight: 500;
	color: #333;
	font-size: 0.9rem;
	margin-bottom: 0.25rem;
	word-break: break-word;
}

.TransferInterface_fileSize__5oz2o {
	color: #666;
	font-size: 0.8rem;
}

.TransferInterface_removeButton__xRMkb {
	background: none;
	border: none;
	color: #999;
	font-size: 1.5rem;
	cursor: pointer;
	padding: 0.25rem;
	border-radius: 4px;
	transition: all 0.2s;
	flex-shrink: 0;
}

.TransferInterface_removeButton__xRMkb:hover {
	background: #f0f0f0;
	color: #666;
}

.TransferInterface_dragDropArea__ZVhiC {
	flex: 1 1;
	z-index: 20;
	margin-bottom: 1rem;
}

.TransferInterface_dragDropArea__ZVhiC .TransferInterface_uppy-DragDrop-container__Wjal1 {
	border: 2px dashed #ddd;
	border-radius: 12px;
	background: #fafafa;
	padding: 2rem;
	text-align: center;
	transition: all 0.3s ease;
	min-height: 120px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.TransferInterface_dragDropArea__ZVhiC .TransferInterface_uppy-DragDrop-container__Wjal1:hover {
	border-color: #4a90e2;
	background: #f0f7ff;
}

.TransferInterface_dragDropArea__ZVhiC .TransferInterface_uppy-DragDrop-label__YXI6v {
	color: #666;
	font-size: 1rem;
}

.TransferInterface_dragDropArea__ZVhiC .TransferInterface_uppy-DragDrop-browse__WJ3qq {
	color: #4a90e2;
	text-decoration: underline;
	cursor: pointer;
}

.TransferInterface_dragDropArea__ZVhiC .uppy-Container {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100%;
}

.TransferInterface_addButton__iWU39 {
	background: #ffd700;
	color: #333;
	border: none;
	padding: 0.75rem 2rem;
	border-radius: 25px;
	font-weight: 600;
	cursor: pointer;
	align-self: flex-end;
	transition: all 0.2s;
	position: absolute;
	bottom: 20px;
	z-index: 20;
}

.TransferInterface_addButton__iWU39:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.TransferInterface_dropOverlay__zkRwz {
	position: absolute;
	inset: 0;
	z-index: 22;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	margin-left: 30px;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.TransferInterface_dropOverlay__zkRwz .TransferInterface_uppy-DragDrop-container__Wjal1 {
	width: 100%;
	height: 100%;
	box-sizing: border-box;
}

.TransferInterface_closeButton__VpbRl {
	position: absolute;
	top: 18px;
	right: 18px;
	background: transparent;
	border: none;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
	color: var(--text-primary);
	z-index: 4;
}

.TransferInterface_closeButton__VpbRl:hover {
	opacity: 0.7;
}

/* Tablet styles */
@media (max-width: 1024px) {
	.TransferInterface_contentWrapper__gQUoQ {
		max-width: 900px;
		gap: 1.5rem;
	}

	.TransferInterface_fileUploadSection__zwmY3 {
		max-width: 400px;
	}
}

/* Mobile landscape and small tablet */
@media (max-width: 768px) {
	.TransferInterface_container__SybEb {
		align-items: flex-start;
		padding: 1rem 0;
	}

	.TransferInterface_main__LfRou {
		padding: 1rem;
		min-height: auto;
		align-items: flex-start;
	}

	.TransferInterface_contentWrapper__gQUoQ {
		grid-template-columns: 1fr;
		gap: 1.5rem;
		max-width: 100%;
		width: auto;
		min-height: auto;
	}

	.TransferInterface_fileUploadSection__zwmY3 {
		max-width: 550px;
		margin: 0 auto;
		order: 1;
		min-width: auto;
	}

	.TransferInterface_authSection__UKTUW {
		min-width: 100%;
		order: 2;
		align-items: center;
	}

	.TransferInterface_fileUploadCard__lKGDf {
		min-height: 350px;
	}

	.TransferInterface_closeButton__VpbRl {
		top: 10px;
		right: 10px;
		background: rgba(255, 255, 255, 0.9);
		border-radius: 50%;
		width: 36px;
		height: 36px;
		display: flex;
		align-items: center;
		justify-content: center;
	}
}

/* Mobile portrait */
@media (max-width: 480px) {
	.TransferInterface_container__SybEb {
		padding: 0.5rem 0;
	}

	.TransferInterface_main__LfRou {
		padding: 0.5rem;
	}

	.TransferInterface_contentWrapper__gQUoQ {
		gap: 1rem;
	}

	.TransferInterface_fileUploadCard__lKGDf {
		border-radius: 12px;
		min-height: 300px;
	}

	.TransferInterface_dragDropArea__ZVhiC .TransferInterface_uppy-DragDrop-container__Wjal1 {
		padding: 1.5rem;
		min-height: 100px;
	}

	.TransferInterface_dragDropArea__ZVhiC .TransferInterface_uppy-DragDrop-label__YXI6v {
		font-size: 0.9rem;
	}

	.TransferInterface_fileItem__sW4ig {
		padding: 0.5rem;
		gap: 0.5rem;
	}

	.TransferInterface_fileIcon__60OLW {
		width: 28px;
		height: 28px;
		font-size: 1.25rem;
	}

	.TransferInterface_fileName__v0MkT {
		font-size: 0.85rem;
	}

	.TransferInterface_fileSize__5oz2o {
		font-size: 0.75rem;
	}

	.TransferInterface_fileCount__DB_C_ {
		font-size: 1.1rem;
	}

	.TransferInterface_addButton__iWU39 {
		padding: 0.6rem 1.5rem;
		font-size: 0.9rem;
		bottom: 15px;
	}

	.TransferInterface_closeButton__VpbRl {
		width: 32px;
		height: 32px;
		font-size: 1.25rem;
	}
}

/* Very small screens */
@media (max-width: 320px) {
	.TransferInterface_main__LfRou {
		padding: 0.25rem;
	}

	.TransferInterface_contentWrapper__gQUoQ {
		gap: 0.75rem;
	}

	.TransferInterface_dragDropArea__ZVhiC .TransferInterface_uppy-DragDrop-container__Wjal1 {
		padding: 1rem;
		min-height: 80px;
	}

	.TransferInterface_fileUploadCard__lKGDf {
		min-height: 280px;
	}
}

/* UnifiedFilesSidebar.module.css */

.SelectedFilesSidebar_container__L9tF_ {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  /* max-width: 400px; */
  max-width: 332px;
  min-height: 76vh;
  height: 100%;
}

.SelectedFilesSidebar_hiddenInput__BMbzH {
  display: none;
}

.SelectedFilesSidebar_dragOverlay___9XvM {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(66, 133, 244, 0.1);
  border: 2px dashed #4285f4;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  pointer-events: none;
}

.SelectedFilesSidebar_dragContent__fKSBn {
  text-align: center;
  color: #4285f4;
  font-size: 18px;
  font-weight: 600;
}

.SelectedFilesSidebar_dragContent__fKSBn div {
  margin-top: 12px;
}

.SelectedFilesSidebar_header__9bFto {
  margin-bottom: 24px;
}

.SelectedFilesSidebar_titleSection__NNWsM {
  text-align: left;
}

.SelectedFilesSidebar_title__AcPFr {
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 4px 0;
  color: #1a1a1a;
}

.SelectedFilesSidebar_subtitle__Jv7dR {
  font-size: 14px;
  color: #666;
  margin: 0;
  font-weight: 400;
}

.SelectedFilesSidebar_content__T7IWg {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.SelectedFilesSidebar_emptyState__PwnXV {
  flex: 1 1;
  display: flex;
  flex-direction: column;
}

.SelectedFilesSidebar_filesSection__89WMR {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.SelectedFilesSidebar_filesList__TaE7O {
  flex: 1 1;
  overflow-y: auto;
  border-radius: 12px;
  padding: 0;
  margin: 0;
  max-height: 350px;
}

.SelectedFilesSidebar_fileItem__staGZ {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  margin-bottom: 8px;
  border-radius: 12px;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  transition: all 0.2s ease;
  cursor: default;
}

.SelectedFilesSidebar_fileItem__staGZ:hover {
  background: #f1f3f4;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.SelectedFilesSidebar_fileItem__staGZ:last-child {
  margin-bottom: 0;
}

.SelectedFilesSidebar_fileIcon__WrOPf {
  margin-right: 12px;
  color: #5f6368;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.SelectedFilesSidebar_fileDetails__8__7L {
  flex: 1 1;
  min-width: 0;
}

.SelectedFilesSidebar_fileName__uQ8sy {
  font-weight: 500;
  font-size: 14px;
  color: #1a1a1a;
  margin-bottom: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.SelectedFilesSidebar_fileSize__fJl6T {
  font-size: 12px;
  color: #5f6368;
  font-weight: 400;
}

.SelectedFilesSidebar_errorText__Io4aj {
  color: #ea4335;
  font-weight: 600;
  font-size: 11px;
}

.SelectedFilesSidebar_removeButton__ixPAJ {
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  color: #5f6368;
  margin-left: 8px;
}

.SelectedFilesSidebar_removeButton__ixPAJ:hover {
  color: #ea4335;
  background-color: rgba(234, 67, 53, 0.1);
}

.SelectedFilesSidebar_footer__sxTwB {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.SelectedFilesSidebar_addButton__8o3ZG {
  background: #fbbf24;
  color: black;
  border: none;
  border-radius: 8px;
  padding: 12px 32px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  min-width: 120px;
}

.SelectedFilesSidebar_addButton__8o3ZG:hover {
  background: #f59e0b;
  transform: translateY(-1px);
  /* box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3); */
}

.SelectedFilesSidebar_addButton__8o3ZG:active {
  transform: translateY(0);
}

/* Custom scrollbar for files list */
.SelectedFilesSidebar_filesList__TaE7O::-webkit-scrollbar {
  width: 6px;
}

.SelectedFilesSidebar_filesList__TaE7O::-webkit-scrollbar-track {
  background: transparent;
}

.SelectedFilesSidebar_filesList__TaE7O::-webkit-scrollbar-thumb {
  background: #dadce0;
  border-radius: 3px;
}

.SelectedFilesSidebar_filesList__TaE7O::-webkit-scrollbar-thumb:hover {
  background: #bdc1c6;
}

/* Responsive adjustments */
@media (max-width: 480px) {
  .SelectedFilesSidebar_container__L9tF_ {
    max-width: none;
    min-width: 280px;
    padding: 16px;
  }
  
  .SelectedFilesSidebar_title__AcPFr {
    font-size: 20px;
  }
  
  .SelectedFilesSidebar_fileItem__staGZ {
    padding: 10px 12px;
  }
  
  .SelectedFilesSidebar_fileName__uQ8sy {
    font-size: 13px;
  }
  
  .SelectedFilesSidebar_addButton__8o3ZG {
    padding: 10px 24px;
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  .SelectedFilesSidebar_container__L9tF_{
    max-width: 100%;
  }
}
