<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="RenameFolderWindow.aspx.cs" Inherits="PDI.Web.RenameFolderWindow" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
	<title>Renombrar Carpeta</title>
	<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css" />
	<style>
		body, html {
			font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
			font-size: 14px;
			margin: 0;
			padding: 0;
			background-color: #fafafa;
			color: #333;
		}

		.window-container {
			padding: 16px 20px;
		}

		h3 {
			font-size: 0.95rem;
			color: #6D214F;
			margin: 0 0 10px 0;
			font-weight: 600;
		}

		.input-group {
			margin-bottom: 10px;
		}

		.input-group label {
			display: block;
			margin-bottom: 4px;
			font-weight: 600;
			font-size: 0.85rem;
			color: #555;
		}

		input[type="text"] {
			width: 100%;
			padding: 8px 10px;
			border: 1px solid #ccc;
			border-radius: 5px;
			font-size: 0.9rem;
			font-family: inherit;
			background: #fff;
			color: #333;
			box-sizing: border-box;
			transition: border-color 0.2s;
		}

		input[type="text"]:focus {
			border-color: #6D214F;
			outline: none;
		}

		input[type="submit"] {
			width: 100%;
			padding: 8px 16px;
			background: transparent;
			color: #6D214F;
			border: 1.5px solid #6D214F;
			border-radius: 5px;
			font-size: 0.9rem;
			font-weight: 600;
			cursor: pointer;
			transition: all 0.2s;
			font-family: inherit;
			margin-top: 6px;
		}

		input[type="submit"]:hover {
			background: #6D214F;
			color: #fff;
		}

		.status-label {
			display: block;
			margin-top: 8px;
			font-size: 0.85rem;
			font-style: italic;
		}
	</style>
</head>
<body>
	<form id="form1" runat="server">
		<asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
		<div class="window-container">
			<h3>Renombrar Carpeta</h3>
			<div class="input-group">
				<label for="txtFolderName">Nombre:</label>
				<asp:TextBox ID="txtFolderName" runat="server" Width="100%" MaxLength="200" />
			</div>
			<asp:Button ID="btnSave" runat="server" Text="Guardar" OnClick="btnSave_Click" />
			<asp:Label ID="lblStatus" runat="server" CssClass="status-label" ForeColor="RoyalBlue" />
		</div>
	</form>
</body>
</html>
