/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

.woocommerce div.product div.images img,
.product img {
    max-width: 400px;
    height: auto;
    width: 100%;
    object-fit: contain;
}
.badge-expired {
    background: #ffc107;
    color: #333;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8em;
    display: inline-block;
    margin-left: 10px;
}
.geartag-photo {
  max-width: 100%;
  max-height: 400px;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}
/* Change Add to Cart button color, size, and style */
.woocommerce div.product form.cart .button {
    background-color: #2E8B57 !important; /* Change this to your brand green */
    color: #ffffff !important; /* White text */
    font-size: 18px; /* Larger text */
    padding: 14px 28px; /* Bigger button size */
    border-radius: 6px; /* Rounded corners */
    font-weight: bold;
    text-transform: uppercase;
}

/* Change hover effect */
.woocommerce div.product form.cart .button:hover {
    background-color: #256d47 !important; /* Darker green on hover */
    color: #ffffff !important;
}
.geartag-404 {
  max-width: 700px;
  margin: 0 auto;
  padding: 80px 20px;
  text-align: center;
  font-family: 'Segoe UI', sans-serif;
  color: #333;
  background: linear-gradient(to bottom right, #f5f9fc, #eaf7f0);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  margin-top: 60px;
}

.geartag-404 img {
  max-width: 160px;
  margin-bottom: 30px;
}

.geartag-404 h1 {
  font-size: 2.4rem;
  margin-bottom: 20px;
}

.geartag-404 p {
  font-size: 1.15rem;
  margin-bottom: 25px;
}

.geartag-404 a.button {
  display: inline-block;
  padding: 12px 30px;
  background: #28a745;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background 0.3s;
}

.geartag-404 a.button:hover {
  background: #218838;
}

.geartag-404 a.button.secondary {
  background: #007bff;
}

.geartag-404 a.button.secondary:hover {
  background: #0056b3;
}
/* GearTag Form Dark Mode Styling */
form.geartag-form {
    background: #1a1a1a;
    padding: 20px;
    border-radius: 10px;
    max-width: 600px;
    margin: 0 auto;
    font-family: inherit;
    color: #fff;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
}

form.geartag-form label {
    display: block;
    margin-top: 15px;
    margin-bottom: 5px;
    font-weight: 500;
    color: #ddd;
}

form.geartag-form input[type="text"],
form.geartag-form input[type="email"],
form.geartag-form input[type="file"],
form.geartag-form select,
form.geartag-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #444;
    border-radius: 5px;
    background: #2b2b2b;
    color: #fff;
    font-size: 1rem;
    box-sizing: border-box;
}

form.geartag-form input::placeholder {
    color: #999;
}

form.geartag-form input[type="text"]:focus,
form.geartag-form input[type="email"]:focus,
form.geartag-form input[type="file"]:focus,
form.geartag-form select:focus,
form.geartag-form textarea:focus {
    border-color: #ff6600;
    outline: none;
}

form.geartag-form input[type="submit"] {
    background: #ff6600;
    color: #fff;
    border: none;
    padding: 12px 20px;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
}

form.geartag-form input[type="submit"]:hover {
    background: #ff8533;
}
.geartag-login-box {
    max-width: 380px;
    margin: 40px auto;
    padding: 25px;
    border: 2px solid #ddd;
    border-radius: 12px;
    background: #848b98;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.geartag-login-logo {
    max-width: 120px;
    margin-bottom: 15px;
}

.geartag-login-box h2 {
    font-family: sans-serif;
    margin-bottom: 20px;
}

#geartag-loginform input[type="text"],
#geartag-loginform input[type="password"] {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border: 1px solid #ccc;
    border-radius: 6px;
}

#geartag-loginform input[type="submit"] {
    background: #222;
    color: #fff;
    padding: 10px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
    transition: background 0.3s;
}

#geartag-loginform input[type="submit"]:hover {
    background: #444;
}

.geartag-register-link {
    margin-top: 15px;
    font-size: 14px;
}
.geartag-dashboard {
  padding: 20px;
  background: #848b98;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.geartag-dashboard h2 {
  margin-bottom: 15px;
  font-size: 1.4em;
  border-bottom: 2px solid #eee;
  padding-bottom: 5px;
}

.geartag-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95em;
}

.geartag-table th, 
.geartag-table td {
  text-align: left;
  padding: 10px;
  border-bottom: 1px solid #ddd;
}

.geartag-table th {
  background: #d8d8d8;
  font-weight: 600;
}

.geartag-qr {
  max-width: 80px;
  display: block;
}
