/*============================================================================+
   File name   : gallery.css
   Version     : 1.0.0
   Begin       : 2026-07-11
   Last Update : 2026-07-11
   Author      : WinEOS System
   License     : Commercial License
   ----------------------------------------------------------------------------
   Copyright (C) WinEOS System

   This file is part of Artwork Management System (AMS),
   the style sheet of the artworks gallery screen which shows the list of 
   all functions.
*/
/*
 * General page styles
 */

* {
    box-sizing: border-box;
}

html {
    font-family: Arial, Helvetica, sans-serif;
    color: #333;
    background-color: #fff;
}

body {
    min-height: 100vh;
    margin: 0;
    text-align: center;
}

.page-container {
    width: 100%;
    padding: 20px 15px;
}

.page-title {
    margin: 0 0 24px;
    font-size: 1.5rem;
}

/*
 * Gallery
 */

.gallery {
    width: 70vw;
    max-width: 1200px;
    margin: 0 auto;
}

/*
 * Custom right-click menu
 */

.custom-menu {
    position: absolute;
    z-index: 1000;
    display: none;
    min-width: 180px;
    margin: 0;
    padding: 0;
    overflow: hidden;

    color: #333;
    white-space: nowrap;

    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.custom-menu li {
    padding: 8px 12px;

    list-style: none;
    cursor: pointer;
    user-select: none;

    transition:
        color 0.3s ease,
        background-color 0.3s ease;
}

.custom-menu li:hover,
.custom-menu li:focus {
    background-color: #ddeeff;
}

/*
 * Messages
 */

.error-message {
    max-width: 700px;
    margin: 20px auto;
    padding: 12px 16px;

    color: #8b0000;
    background-color: #ffe8e8;
    border: 1px solid #e2a0a0;
    border-radius: 5px;
}

.no-images-message {
    margin: 40px auto;
    color: #666;
    line-height: 1.6;
}

/*
 * Contact information and footer
 */

.contact-section,
.contact-details,
.page-footer {
    margin-top: 24px;
}

.contact-section p,
.contact-details p,
.page-footer p {
    margin: 8px 0;
    line-height: 1.6;
}

a {
    color: #065fd4;
    text-decoration: none;
}

a:hover,
a:focus {
    text-decoration: underline;
}

/*
 * Responsive design
 */

@media screen and (max-width: 768px) {
    .page-container {
        padding: 15px 10px;
    }

    .gallery {
        width: 95vw;
    }

    .page-title {
        font-size: 1.3rem;
    }
}

/*
 * Hide page content when printing.
 *
 * This does not guarantee that users cannot capture or reproduce
 * content, but it prevents normal browser printing.
 */

@media print {
    body {
        display: none !important;
    }
}

/*
//============================================================+
// END OF FILE
//============================================================+
*/

