/**
 * andW-FileUpManager Frontend Styles
 *
 * @package Andw_FileUpManager
 */

.andw-fum-files-wrapper {
	margin: 1.5em 0;
	overflow-x: auto;
}

.andw-fum-files-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
	line-height: 1.5;
}

.andw-fum-files-table thead {
	background-color: #f5f5f5;
	border-bottom: 2px solid #ddd;
}

.andw-fum-files-table th,
.andw-fum-files-table td {
	padding: 10px 12px;
	text-align: left;
	border-bottom: 1px solid #e0e0e0;
}

.andw-fum-files-table th {
	font-weight: 600;
	color: #333;
	white-space: nowrap;
}

.andw-fum-files-table tbody tr:hover {
	background-color: #fafafa;
}

/* カラム幅 */
.andw-fum-col-date {
	width: 100px;
	white-space: nowrap;
}

.andw-fum-col-classification,
.andw-fum-col-type {
	width: 120px;
}

.andw-fum-col-name {
	min-width: 200px;
}

.andw-fum-col-size {
	width: 80px;
	text-align: right;
	white-space: nowrap;
}

/* ダウンロードリンク */
.andw-fum-download-link {
	color: #0073aa;
	text-decoration: none;
	transition: color 0.2s ease;
}

.andw-fum-download-link:hover {
	color: #005177;
	text-decoration: underline;
}

/* ファイルなしメッセージ */
.andw-fum-no-files {
	padding: 20px;
	text-align: center;
	color: #666;
	background-color: #f9f9f9;
	border-radius: 4px;
}

/* レスポンシブ */
@media screen and (max-width: 768px) {
	.andw-fum-files-table {
		font-size: 13px;
	}

	.andw-fum-files-table th,
	.andw-fum-files-table td {
		padding: 8px 6px;
	}

	.andw-fum-col-classification,
	.andw-fum-col-type {
		display: none;
	}
}
