/* Front CSS for NFT Products Module */

.nft-container {
    padding: 20px;
    margin: 20px 0;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.nft-container h2 {
    color: #333;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: bold;
}

.nft-section {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 5px solid #007bff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.nft-section h3 {
    margin-top: 0;
    color: #333;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
}

.nft-form-group {
    margin-bottom: 15px;
}

.nft-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
    font-size: 14px;
}

.nft-form-group input,
.nft-form-group textarea,
.nft-form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-family: Arial, sans-serif;
}

.nft-form-group input:focus,
.nft-form-group textarea:focus,
.nft-form-group select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0,123,255,0.5);
}

.nft-form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.nft-form-group small {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 12px;
}

.nft-button {
    background-color: #007bff;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.nft-button:hover {
    background-color: #0056b3;
}

.nft-button.btn-lg {
    padding: 15px 30px;
    font-size: 16px;
}

.nft-button.btn-danger {
    background-color: #dc3545;
}

.nft-button.btn-danger:hover {
    background-color: #c82333;
}

.nft-button.btn-info {
    background-color: #17a2b8;
}

.nft-button.btn-info:hover {
    background-color: #138496;
}

.nft-status {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.nft-status.pending {
    background-color: #ffc107;
    color: #000;
}

.nft-status.minting {
    background-color: #17a2b8;
    color: white;
}

.nft-status.minted {
    background-color: #28a745;
    color: white;
}

.nft-status.failed {
    background-color: #dc3545;
    color: white;
}

.nft-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nft-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.nft-card .card-body {
    padding: 15px;
}

.nft-card .card-title {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 16px;
    font-weight: bold;
}

.nft-card .card-text {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

.nft-alert {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 15px;
    border-left: 4px solid;
}

.nft-alert.alert-success {
    background-color: #d4edda;
    color: #155724;
    border-left-color: #28a745;
}

.nft-alert.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border-left-color: #dc3545;
}

.nft-alert.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border-left-color: #17a2b8;
}

.nft-alert.alert-warning {
    background-color: #fff3cd;
    color: #856404;
    border-left-color: #ffc107;
}

.nft-metadata {
    background-color: #f5f5f5;
    padding: 10px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 12px;
    overflow-x: auto;
    margin-top: 10px;
}

.nft-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.nft-col {
    flex: 1;
    min-width: 250px;
}

@media (max-width: 768px) {
    .nft-container {
        padding: 15px;
    }

    .nft-section {
        padding: 15px;
    }

    .nft-button {
        width: 100%;
        padding: 12px;
    }

    .nft-col {
        min-width: 100%;
    }
}
