/*
Theme Name: Ghien An
Author: ChatGPT
Description: Theme Ghien An trắng nền, chữ #111, footer cố định 50px, icon Home, Like, Logo, Share, Burger menu modal
Version: 1.0
*/

body {
  background: #fff;
  color: #222;
  margin: 0; padding: 0;
  font-family: Arial, sans-serif;
}

a {
  color: #111;
  text-decoration: none;
}

a:hover { text-decoration: underline; }
input:focus, textarea:focus {
    outline: none;
    border: none;
}
.ghien-an-container {
  margin-top: 40px;
}

/* Footer */
.-ghien-an-footer {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  height: 50px;
  background: #fff;
  border-top: 1px solid #ddd;
  display: flex;
  justify-content: space-between; /* chia đều 5 phần tử */
  align-items: center;
  padding: 0 20px;
  box-sizing: border-box;
  z-index: 9999;
  font-family: Arial, sans-serif;
  color: #222;
}
/* Header */
.ghien-an-header-menu {
  position: fixed;
  top: 0;           /* thay bottom:0 thành top:0 */
  left: 0;
  right: 0;
  height: 50px;
  background: #fff;
  border-bottom: 1px solid #ddd; /* đổi border-top thành border-bottom */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  box-sizing: border-box;
  z-index: 9999;
  font-family: Arial, sans-serif;
  color: #222;
}

/* 5 phần tử riêng biệt */
.ghien-an-footer-item {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 20px;
  user-select: none;
}

/* Logo riêng */
.ghien-an-logo-img {
  height: 45px;
  width: auto;
  object-fit: contain;
}

/* Counter text kế bên icon */
.ghien-an-counter {
  margin-left: 6px;
  font-size: 14px;
  color: #555;
  user-select: text;
  pointer-events: none;
}

/* Hover hiệu ứng */
.ghien-an-footer-item:hover,
.ghien-an-footer-item:focus {
  color: #0b57d0;
  outline: none;
}

/* Accessibility */
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* Modal */
.ghien-an-modal {
	height: 100%;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:10000;
}

.ghien-an-modal-content-outer {
  background:#fff;
  color:#111;
  width:100%;
  padding:0px;
  box-shadow:0 6px 22px rgba(0,0,0,0.2);
}

.ghien-an-modal-content {
  background:#fff;
  color:#111;
  max-width:420px;
  width:90%;
  padding:20px;
  border-radius:0px;
  box-shadow:0 6px 22px rgba(0,0,0,0.2);
	overflow: auto;
}

.ghien-an-modal-close {
  float:right;
  font-size:20px;
  border:none;
  background:transparent;
  cursor:pointer;
}

/* Responsive */
@media (max-width: 480px) {
  .ghien-an-footer {
    padding: 0 8px;
  }
  .ghien-an-footer-item {
    font-size: 18px;
  }
  .ghien-an-logo-img {
    height: 45px;
  }
}
.ghien-an-content {
    padding-bottom: 60px;
}
/* Footer bình thường */
.ga-footer {
  width: 100%;
  background: #f8f8f8;
  border-top: 1px solid #ddd;
  padding: 15px 20px;
  box-sizing: border-box;
  text-align: center;
  font-family: Arial, sans-serif;
  color: #888;
  font-size: 14px;
}

.ga-footer a {
  color: #275fbf;
  text-decoration: none;
  margin: 0 5px;
}

.ga-footer a:hover {
  color: #275fbf;
}
