/*
Theme Name: iStiLiST Modern
Theme URI: https://istilist.com
Author: Istilist
Author URI: https://istilist.com
Description: A modern, streamlined custom theme for the iStiLiST retailer portal.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: istilist-modern
*/

/* Basic responsive styles - you will expand on these */
body {
    font-family: 'Inter', sans-serif; /* Using Inter font */
    margin: 0;
    padding: 0;
    background-color: #f4f7f6;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Basic responsive typography */
h1, h2, h3, h4, h5, h6 {
    color: #2c3e50;
}

/* Responsive images */
img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px; /* Rounded corners */
}

/* Responsive layout with flexbox (example) */
.flex-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.flex-item {
    flex: 1 1 calc(33.333% - 20px); /* 3 items per row on desktop */
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Media queries for responsiveness */
@media (max-width: 768px) {
    .flex-item {
        flex: 1 1 calc(50% - 20px); /* 2 items per row on tablet */
    }
}

@media (max-width: 480px) {
    .flex-item {
        flex: 1 1 100%; /* 1 item per row on mobile */
    }
}

/* Buttons for consistency */
.button-primary {
    background-color: #3498db;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.button-primary:hover {
    background-color: #2980b9;
}

/* Form styling */
form {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

form input[type="text"],
form input[type="email"],
form input[type="tel"],
form input[type="password"],
form textarea,
form select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box; /* Include padding in width */
}

form input[type="submit"] {
    background-color: #2ecc71;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.3s ease;
}

form input[type="submit"]:hover {
    background-color: #27ae60;
}