% ============================================================
%  STUDENT AI USE DISCLOSURE FORM
%  IIT Roorkee — Official Form
%
%  INSTRUCTIONS:
%  1. Section A is filled automatically from your config block
%     in main.tex — no changes needed there.
%  2. In Section B, toggle each checkbox:
%       \cbx   = checked  (you DID use AI for this)
%       \cbno  = unchecked (you did NOT use AI for this)
%  3. Sign and date Section C before submission.
% ============================================================

% ---- Checkbox commands -------------------------------------
\newcommand{\cbx}{\CheckedBox}   % checked   (wasysym \CheckedBox)
\newcommand{\cbno}{\Square}      % unchecked (wasysym \Square)

% ---- Form colour (IIT Roorkee navy) ------------------------
\definecolor{formnavy}{RGB}{31,56,100}

\thispagestyle{plain}
\addcontentsline{toc}{chapter}{AI Use Disclosure}
\begin{singlespace}

% ---- Page 1: Title + Section A + Section B -----------------

\begin{center}
{\large \textbf{\underline{STUDENT AI USE DISCLOSURE FORM}}}\\[4pt]
{\normalsize\itshape Artificial Intelligence Usage Declaration}
\end{center}

\vspace{8pt}

% ==== SECTION A ==============================================
\noindent
\begin{tabular}{|p{\textwidth-2\tabcolsep-2\arrayrulewidth}|}
\hline
\rowcolor{formnavy}\textcolor{white}{\bfseries SECTION A: STUDENT INFORMATION}\\
\hline
\textbf{Full Name:} \AuthorName \\[6pt]
\textbf{Enrolment No.:} \EnrolNo \hfill \textbf{Department:} \DepartmentShort \\[6pt]
\textbf{Programme:} \Degree \hfill \textbf{Semester / Year:} \Semester\ / \YearOfStudy \\[6pt]
\textbf{Supervisor Name:} \SupervisorName \\[6pt]
\textbf{Thesis Title:} \ThesisTitle \\[6pt]
\textbf{Date:} \SubmissionDate \\[4pt]
\hline
\end{tabular}

\vspace{20pt}

% ==== SECTION B ==============================================
\noindent
\begin{tabular}{|p{\textwidth-2\tabcolsep-2\arrayrulewidth}|}
\hline
\rowcolor{formnavy}\textcolor{white}{\bfseries SECTION B: NATURE OF AI USE}\\
\hline
\itshape Artificial Intelligence (AI) tools were used in the following capacities during the preparation of this work:\\
\hline
\end{tabular}

% Checkbox table — flush against header, no gap
\noindent
\begin{tabular}{|p{0.07\textwidth}|p{0.93\textwidth-4\tabcolsep-3\arrayrulewidth}|}
% --- Research & Content ---
\rowcolor{formnavy!25}\multicolumn{2}{|l|}{\bfseries\color{formnavy} Research \& Content}\\
\hline
\cbno & Literature review / Background research \\[3pt]
\hline
\cbno & Idea generation / Brainstorming \\[3pt]
\hline
\cbno & Summarising research papers or articles \\[3pt]
\hline
% --- Writing & Language ---
\rowcolor{formnavy!25}\multicolumn{2}{|l|}{\bfseries\color{formnavy} Writing \& Language}\\
\hline
\cbno & Drafting or writing portions of text \\[3pt]
\hline
\cbno & Editing or proofreading \\[3pt]
\hline
\cbno & Translation of Language \\[3pt]
\hline
% --- Technical & Analytical ---
\rowcolor{formnavy!25}\multicolumn{2}{|l|}{\bfseries\color{formnavy} Technical \& Analytical}\\
\hline
\cbno & Data collection or analysis \\[3pt]
\hline
\cbno & Generating code \\[3pt]
\hline
\cbno & Statistical interpretation or modelling \\[3pt]
\hline
\cbno & Creating figures, diagrams, or images \\[3pt]
\hline
\cbno & Mathematical Proofs or Algorithms \\[3pt]
\hline
% --- Other ---
\rowcolor{formnavy!25}\multicolumn{2}{|l|}{\bfseries\color{formnavy} Other}\\
\hline
\cbno & Other --- describe below \\[3pt]
\hline
\multicolumn{2}{|l|}{\textbf{Description:}} \\[3pt]
\hline
\end{tabular}

% ---- Page 2: Section C -------------------------------------
\newpage
\thispagestyle{plain}

\vspace*{10pt}

% ==== SECTION C ==============================================
\noindent
\begin{tabular}{|p{\textwidth-2\tabcolsep-2\arrayrulewidth}|}
\hline
\rowcolor{formnavy}\textcolor{white}{\bfseries SECTION C: DECLARATION \& SIGNATURES}\\
\hline
\textbf{I hereby declare that:}\\[6pt]
1. The information provided in this form is accurate and complete to the best of my knowledge.\\[4pt]
2. All AI-generated or AI-assisted content has been appropriately reviewed, verified, and acknowledged.\\[4pt]
3. The use of AI tools complies with the institute's AI Use Policy and academic integrity guidelines.\\[4pt]
4. I take full intellectual responsibility for the final submitted work.\\[4pt]
5. I understand that false or incomplete disclosure may constitute academic misconduct.\\[6pt]
\hline
\end{tabular}

\vspace{10pt}

\noindent
\begin{tabular}{|p{\textwidth-2\tabcolsep-2\arrayrulewidth}|}
\hline
\rowcolor{formnavy!25}\textbf{\color{formnavy} Student Signature}\\
\hline
\textbf{Name:} \AuthorName \\[10pt]
\textbf{Designation:} M.Tech Student \\[10pt]
\textbf{Signature:} \\[10pt]
\textbf{Date:} \SubmissionDate \\[8pt]
\hline
\end{tabular}

\end{singlespace}
