/* Wedding Upload Form Styles */

.wedding-upload-form-container {
	max-width: 500px;
	margin: 2rem auto;
	padding: 2rem;
	background: #fafafa;
	border-radius: 4px;
	border: 1px solid #e0e0e0;
}

.upload-success {
	background: #d4edda;
	border-left: 4px solid #6b7d5c;
	color: #155724;
	padding: 1rem;
	margin-bottom: 1.5rem;
	border-radius: 4px;
}

.wedding-upload-form-container h2 {
	color: #6b7d5c;
	margin-top: 0;
}

.wedding-upload-form-container p {
	color: #666;
	line-height: 1.6;
}

.form-group {
	margin-bottom: 1.5rem;
	display: flex;
	flex-direction: column;
}

.form-group label {
	font-weight: 500;
	margin-bottom: 0.5rem;
	color: #2c3e2f;
}

.form-group input[type="file"] {
	padding: 0.75rem;
	border: 2px dashed #ddd;
	border-radius: 4px;
	cursor: pointer;
	transition: border-color 0.3s ease;
}

.form-group input[type="file"]:hover {
	border-color: #6b7d5c;
}

.form-group small {
	font-size: 0.85rem;
	color: #999;
	margin-top: 0.5rem;
}

.submit {
	margin: 0;
	padding: 0;
}

.submit input[type="submit"] {
	background-color: #6b7d5c;
	color: #faf6f3;
	border: none;
	padding: 0.75rem 1.5rem;
	border-radius: 4px;
	cursor: pointer;
	font-size: 1rem;
	font-weight: 500;
	transition: background-color 0.3s ease;
	width: 100%;
	box-sizing: border-box;
}

.submit input[type="submit"]:hover {
	background-color: #5a6a50;
}

/* Admin Gallery Styles */

.wedding-admin-gallery {
	padding: 1rem 0;
}

.wedding-admin-gallery h2 {
	color: #6b7d5c;
	margin-bottom: 1.5rem;
}

.gallery-filters {
	display: flex;
	gap: 1rem;
	margin-bottom: 1.5rem;
	padding: 1rem;
	background: #f9f9f9;
	border-radius: 4px;
	flex-wrap: wrap;
}

.gallery-filters form {
	display: flex;
	gap: 0.5rem;
	align-items: center;
	flex-wrap: wrap;
}

.gallery-filters select {
	padding: 0.5rem;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 0.95rem;
}

.gallery-filters input[type="submit"] {
	padding: 0.5rem 1rem;
	background-color: #6b7d5c;
	color: white;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-size: 0.95rem;
	transition: background-color 0.3s ease;
}

.gallery-filters input[type="submit"]:hover {
	background-color: #5a6a50;
}

.gallery-container {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 1rem;
	margin-top: 1rem;
}

.media-item {
	background: #f5f5f5;
	border: 1px solid #ddd;
	border-radius: 4px;
	padding: 1rem;
	display: flex;
	flex-direction: column;
	transition: box-shadow 0.3s ease;
}

.media-item:hover {
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.media-preview {
	background: linear-gradient(135deg, #e8e8e8 0%, #f0f0f0 100%);
	border-radius: 4px;
	height: 150px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1rem;
	color: #999;
	font-weight: bold;
	font-size: 0.9rem;
}

.media-info {
	flex: 1;
	font-size: 0.9rem;
	margin-bottom: 1rem;
}

.media-info strong {
	color: #2c3e2f;
	word-break: break-word;
}

.media-info p {
	margin: 0.25rem 0;
	color: #666;
	font-size: 0.85rem;
}

.file-size {
	color: #999;
}

.upload-date {
	color: #999;
	font-size: 0.8rem;
}

.media-actions {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.media-actions form {
	flex: 1;
	min-width: 100px;
}

.media-actions input[type="submit"] {
	width: 100%;
	box-sizing: border-box;
	padding: 0.5rem;
	border: 1px solid #ddd;
	border-radius: 4px;
	background-color: #f9f9f9;
	cursor: pointer;
	font-size: 0.85rem;
	transition: background-color 0.3s ease;
}

.media-actions input[type="submit"]:hover {
	background-color: #f0f0f0;
}

.media-actions input[type="submit"].button-danger {
	background-color: #c85a3a;
	color: white;
	border-color: #c85a3a;
}

.media-actions input[type="submit"].button-danger:hover {
	background-color: #b3482f;
}
