* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #f5f7fb;
    color: #333;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    max-width: 1000px;
    width: 100%;
    padding: 30px;
    text-align: center;
}

h1 {
    color: #0090ff;
    margin-bottom: 30px;
    font-size: 2.5rem;
    text-shadow: 0 1px 2px rgba(0, 144, 255, 0.2);
}

h2 {
    color: #0090ff;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

h3 {
    color: #0090ff;
    margin: 20px 0 15px;
    font-size: 1.4rem;
}

h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #333;
}

#contract-container {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 30px;
}

.form-section {
    text-align: left;
}

.form-content {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
}

input[type="text"],
input[type="number"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

input[type="text"]:focus,
input[type="number"]:focus {
    border-color: #0090ff;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 144, 255, 0.2);
}

button {
    background-color: #0090ff;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: all 0.3s ease;
    margin: 10px 0;
}

button:hover {
    background-color: #0070cc;
    transform: translateY(-2px);
}

#result-section {
    text-align: left;
}

.code-container {
    background-color: #f1f5f9;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    position: relative;
    max-height: 400px;
    overflow-y: auto;
}

pre {
    font-family: 'Courier New', monospace;
    white-space: pre-wrap;
    word-wrap: break-word;
    color: #333;
    line-height: 1.5;
}

#copy-code {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    font-size: 0.8rem;
    background-color: rgba(0, 144, 255, 0.2);
    color: #0090ff;
}

.deployment-steps {
    background-color: #f9f9f9;
    border-left: 4px solid #0090ff;
    padding: 15px;
    margin: 20px 0;
}

.deployment-steps ol {
    padding-left: 20px;
}

.deployment-steps li {
    margin-bottom: 10px;
}

.docs-section {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: left;
    margin-bottom: 30px;
}

.network-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.network-card {
    background-color: #f1f5f9;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.resources ul {
    list-style-type: none;
    padding: 0;
}

.resources li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.resources li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #0090ff;
}

a {
    color: #0090ff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.footer {
    margin-top: 30px;
    font-size: 0.9rem;
    color: #777;
}

.hidden {
    display: none;
}

.info-banner {
    background-color: #e0f2ff;
    border-left: 4px solid #0090ff;
    padding: 15px;
    margin-bottom: 20px;
    text-align: left;
    border-radius: 5px;
}

.info-banner p {
    margin: 0;
    color: #333;
    line-height: 1.5;
}

.token-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f5f7fb;
    border-radius: 10px;
}

.token-logo-container {
    text-align: center;
    margin-bottom: 15px;
}

#token-logo-preview {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 15px;
    overflow: hidden;
    background-color: #f1f1f1;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#custom-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.token-preview-info {
    text-align: center;
}

#preview-name {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

#preview-symbol {
    font-size: 1rem;
    color: #666;
    background-color: #e0f2ff;
    padding: 3px 10px;
    border-radius: 15px;
    display: inline-block;
}

.logo-upload {
    margin-top: 10px;
    display: flex;
    gap: 10px;
    justify-content: center;
}

.upload-button {
    background-color: #0090ff;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.upload-button:hover {
    background-color: #0070cc;
}

#remove-logo {
    background-color: #ff3860;
    padding: 8px 15px;
    font-size: 0.9rem;
}

#remove-logo:hover {
    background-color: #e03251;
}

.token-preview-result {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f5f7fb;
    border-radius: 8px;
}

#result-logo-container {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
}

#result-token-name {
    margin: 0 0 5px 0;
}

#result-token-symbol {
    margin: 0;
    color: #666;
    background-color: #e0f2ff;
    padding: 3px 10px;
    border-radius: 15px;
    display: inline-block;
}

.vm-section {
    text-align: left;
}

.vm-status {
    display: flex;
    align-items: center;
    background-color: #f1f5f9;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}

.vm-indicator {
    display: flex;
    align-items: center;
    margin-right: 25px;
    padding-right: 25px;
    border-right: 1px solid #ddd;
}

.vm-status-light {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: #ccc;
    margin-right: 10px;
}

.vm-indicator.active .vm-status-light {
    background-color: #4CAF50;
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.5);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(76, 175, 80, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
    }
}

.vm-info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.vm-info p {
    margin: 0;
}

.deployment-progress {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.progress-container {
    width: 100%;
    height: 20px;
    background-color: #f1f5f9;
    border-radius: 10px;
    margin: 15px 0;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 0;
    background-color: #0090ff;
    border-radius: 10px;
    transition: width 0.3s ease;
}

#deployment-status {
    font-size: 0.9rem;
    color: #666;
}

.success-banner {
    display: flex;
    align-items: center;
    background-color: #e8f5e9;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    color: #2e7d32;
}

.success-icon {
    margin-right: 10px;
}

.deployment-details {
    background-color: #f1f5f9;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.detail-item {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #ddd;
}

.detail-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.detail-label {
    font-weight: bold;
    width: 150px;
    color: #555;
}

.detail-value {
    flex: 1;
    font-family: 'Courier New', monospace;
    word-break: break-all;
}

.copy-button {
    background-color: #f1f5f9;
    color: #0090ff;
    border: 1px solid #ddd;
    padding: 5px 10px;
    border-radius: 5px;
    margin-left: 10px;
    font-size: 0.8rem;
}

.vm-interactions {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.interaction-form {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: flex-end;
}

.interaction-form .form-group {
    flex: 1;
    min-width: 200px;
    margin-bottom: 0;
}

#interaction-result {
    margin-top: 20px;
    padding: 15px;
    background-color: #f1f5f9;
    border-radius: 8px;
}

#interaction-output {
    margin: 0;
    padding: 0;
    font-family: 'Courier New', monospace;
}

select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    background-color: white;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

select:focus {
    border-color: #0090ff;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 144, 255, 0.2);
}

.transaction-history {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.transaction-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.transaction-item:last-child {
    border-bottom: none;
}

.tx-status {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 15px;
}

.tx-status.success {
    background-color: #4CAF50;
}

.tx-status.failed {
    background-color: #f44336;
}

.tx-details {
    flex: 1;
}

.tx-info {
    margin-bottom: 4px;
}

.tx-hash {
    font-size: 0.85rem;
    color: #666;
    font-family: 'Courier New', monospace;
}

.tx-time {
    font-size: 0.85rem;
    color: #666;
}

.token-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.token-card-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 20px;
    overflow: hidden;
}

.token-card-info {
    flex: 1;
}

.token-card-supply {
    text-align: right;
    font-weight: bold;
}

.token-card-balance {
    font-size: 1.8rem;
    font-weight: bold;
    color: #0090ff;
    margin-bottom: 5px;
}

.token-card-address {
    font-size: 0.85rem;
    color: #666;
    font-family: 'Courier New', monospace;
}

.debug-mode-toggle {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 10px;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
    margin-left: 10px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background-color: #0090ff;
}

input:checked + .toggle-slider:before {
    transform: translateX(20px);
}

.debug-panel {
    background-color: #1e1e1e;
    color: #00ff00;
    font-family: 'Courier New', monospace;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    max-height: 300px;
    overflow-y: auto;
}

.debug-entry {
    margin-bottom: 5px;
    line-height: 1.4;
}

.wallet-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background-color: #f1f5f9;
    border-radius: 8px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.wallet-section.connected {
    background-color: #e6f7e9;
    border: 1px solid #4CAF50;
}

#wallet-status {
    padding: 8px 12px;
    border-radius: 5px;
    background-color: #f8f8f8;
    border: 1px solid #ddd;
    color: #666;
    transition: all 0.3s ease;
}

#wallet-status.connected {
    background-color: #e6f7e9;
    border: 1px solid #4CAF50;
    color: #2e7d32;
}

#create-token-button {
    background-color: #ff6b00;
    margin-top: 10px;
}

#create-token-button:hover {
    background-color: #e05e00;
}

.deployment-live-status {
    margin-top: 20px;
    padding: 15px;
    background-color: #f1f5f9;
    border-radius: 8px;
    text-align: center;
}

#live-deployment-status {
    margin-top: 10px;
    padding: 8px;
    background-color: #fff;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.deployment-result {
    margin-top: 20px;
}

.remix-button {
    background-color: #5f34b8;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: all 0.3s ease;
    margin: 10px 0;
}

.remix-button:hover {
    background-color: #4a2a91;
    transform: translateY(-2px);
}

#remix-container {
    width: 100%;
    height: 500px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
    padding: 20px;
    border: 1px solid #ddd;
}

#compilation-status {
    padding: 10px;
    margin: 10px 0;
    background-color: #f8f9fa;
    border-left: 4px solid #6c757d;
    color: #6c757d;
}

#compilation-status.success {
    background-color: #e8f5e9;
    border-left: 4px solid #4CAF50;
    color: #2e7d32;
}

#compilation-status.error {
    background-color: #ffebee;
    border-left: 4px solid #f44336;
    color: #c62828;
}

@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    #contract-container {
        padding: 20px;
    }
    
    .vm-status {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .vm-indicator {
        margin-right: 0;
        padding-right: 0;
        border-right: none;
        margin-bottom: 15px;
        padding-bottom: 15px;
        border-bottom: 1px solid #ddd;
        width: 100%;
    }
    
    .interaction-form {
        flex-direction: column;
    }
    
    .interaction-form .form-group {
        width: 100%;
    }
}
