/* ===============================
   CREATE PET PAGE
=============================== */
.create-pet-page {
    width: 100%;
}

.create-pet-main,
.create-pet-details-main {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 15px 40px;
    box-sizing: border-box;
}

/* ===============================
   SPECIES GRID
=============================== */
.species-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(180px, 1fr));
    gap: 20px;
    width: 100%;
    margin-top: 20px;
}

/* ===============================
   SPECIES CARD
=============================== */
.species-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 320px;
    padding: 16px;
    border-radius: 10px;
    background: #fff;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    box-sizing: border-box;
}

.species-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.species-card img {
    width: 100%;
    max-width: 160px;
    height: 140px;
    object-fit: contain;
    border-radius: 6px;
    cursor: pointer;
    transition: transform 0.3s;
}

.species-card:hover img {
    transform: scale(1.05);
}

.species-card h3 {
    margin: 5px 0;
    font-size: 18px;
    text-transform: capitalize;
}

.species-card p {
    margin-bottom: 10px;
    font-size: 14px;
    color: #626262;
}

/* ===============================
   BUTTONS
=============================== */
.select-btn {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 4px;
    background: #1876f2;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.3s;
}

.select-btn:hover {
    background: #145bb5;
}

/* ===============================
   COLOR OPTIONS
=============================== */
.color-label {
    margin-top: 20px;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
}

.color-options {
    display: grid;
    grid-template-columns: repeat(4, 90px);
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

.color-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.color-swatch {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 90px;
    height: 60px;

    border: 2px solid #ccc;
    border-radius: 6px;
    cursor: pointer;

    font-size: 14px;
    font-weight: 600;
    color: #fff;

    transition: transform 0.2s, border 0.2s, box-shadow 0.2s;
}

.color-swatch:hover {
    transform: scale(1.05);
    border-color: #000;
}

.color-swatch.selected {
    border: 3px solid #1876f2;
    box-shadow: 0 0 8px rgba(24, 118, 242, 0.6);
}

/* ===============================
   COLOR SWATCHES
=============================== */
.color-swatch[data-color="normal"] {
    background: #aaaaaa;
}

.color-swatch[data-color="sapphire"] {
    background: #0f52ba;
}

.color-swatch[data-color="ruby"] {
    background: #e0115f;
}

.color-swatch[data-color="emerald"] {
    background: #50c878;
}

.color-swatch[data-color="amethyst"] {
    background: #9966cc;
}

.color-swatch[data-color="silver"] {
    background: #c0c0c0;
    color: #000;
}

.color-swatch[data-color="onyx"] {
    background: #353839;
}

.color-swatch[data-color="topaz"] {
    background: #ffc87c;
    color: #000;
}

/* ===============================
   CREATE PET PAGE ALIGNMENT
   Match Explore / Shops
=============================== */

.create-pet-main {
    max-width: 1050px !important;
    margin: 0 auto !important;
    padding: 40px 16px 40px !important;
}

.create-pet-main h1 {
    margin: 0 0 6px !important;
    text-align: center !important;
    font-size: 32px !important;
    color: #5a2d82 !important;
    line-height: 1.1 !important;
}

.create-pet-main > p {
    margin: 0 0 20px !important;
    text-align: center !important;
    color: #5d6470 !important;
    font-size: 15px !important;
    line-height: 1.4 !important;
}

.species-grid {
    max-width: 820px !important;
    margin: 0 auto 24px !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(220px, 1fr)) !important;
    gap: 18px !important;
}

.species-card {
    background: #ffffff !important;
    border: 1px solid #ddd6ff !important;
    border-radius: 12px !important;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.06) !important;
    padding: 18px 14px !important;
    min-height: 300px !important;
    text-align: center !important;
}

.species-card img {
    max-width: 170px !important;
    height: 140px !important;
    object-fit: contain !important;
    margin: 0 auto 10px !important;
}

.species-card h3 {
    margin: 0 0 6px !important;
    color: #5f3e99 !important;
    font-size: 18px !important;
}

.species-card p {
    margin: 0 0 12px !important;
    color: #5d6470 !important;
    font-size: 14px !important;
}

.select-btn {
    background: linear-gradient(90deg, #d492fd 0%, #91caff 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 8px 14px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
}

.create-pet-main h2 {
    text-align: center !important;
    color: #5a2d82 !important;
    margin: 24px 0 16px !important;
}